An application using a riched32 input text box runs almost fine. The box has two indicators, one is "total lines" and the other is the cursor position "line/column". When entering text, everything seems fine and the "total lines" counter changes whenever I press ENTER, but the "line/column" cursor position remains staying at "1/1". When I copy text into the box, the cursor moves (though indicator still says "1/1"), but I don't see the copied text. After scrolling one page and scrolling back, the text shows up. It seems that there is some kind of screen update missing. I tried that with the built-in riched32.dll as well as with several native ones. Anyone any idea? (wine is v1.2)
jbrown wrote:> An application using a riched32 input text box runs almost fine. The box has two indicators, one is "total lines" and the other is the cursor position "line/column". >Unless you are running in Windows 95 mode, the proper file is riched20.> When entering text, everything seems fine and the "total lines" counter changes whenever I press ENTER, but the "line/column" cursor position remains staying at "1/1". When I copy text into the box, the cursor moves (though indicator still says "1/1"), but I don't see the copied text. After scrolling one page and scrolling back, the text shows up. > > It seems that there is some kind of screen update missing. > > I tried that with the built-in riched32.dll as well as with several native ones. > >These are just wrappers for riched20. You need to get a copy of riched20.dll from WindowsXP and place it in the same directory as this program. Then set riched20 to 'native, builtin' for this library file. If this fixes the problem, please open a bug report. James McKenzie
The easy way to get native riched20 is winetricks riched20 For instance, wget http://kegel.com/wine/winetricks sh winetricks riched20 See http://wiki.winehq.org/winetricks
James McKenzie wrote:> Is the program a Windows95 program?I'm not sure, but it is a very old program, so it's likely. James McKenzie wrote:> However, you can copy the riched32.dll file from your Windows partition to the program directory.Unfortunately, this doesn't work. If I copy either the riched32.dll provided with the program or my Windows partition's riched32.dll or XP's riched32.dll (with riched20.dll in systems32 then) into the program's directory, I get the refresh problem. If I copy riched20/32.dll into system32, I get the refresh problem. If I set a soft link to system32/riched20.dll into the program's directory or copy riched20.dll directly there, it works. (All, of course, with riched20/32.dll set 'native, builtin'.) BTW, another reason to have riched20.dll accessible for all programs is wine's wordpad.exe. With the default installation, I get not list bullets. After copying riched20.dll into system32 and setting it 'native, builtin' for wordpad.exe, the bullets appear. So where to copy the dll to have it 'native, builtin' for a couple of programs (especially if they resist in system32 themselves) and 'builtin' as default for the rest of it?