CreateEdit produces full size uneditable window
CreateEdit produces full size uneditable window
AltDEditWindowHandle := CreateEdit(ES_CENTER or ES_UPPERCASE or WS_BORDER, 15, 27, 250, 30, hwnddlg, 101);
Under Windows I get a window with the above border sizes.
Under linux I can grab the title bar and move the f/s window but nothing else. Right clicking on the title bar i have options Restore, Resize, Maximize selected.
I am running kernel 3.16.1 and Wine 1.7.18
When i start my app via terminal command i get this
err:listview:LISTVIEW_WindowProc unknown msg 108c wp=00000004 lp=00000000
err:listview:LISTVIEW_WindowProc unknown msg 108c wp=00000004 lp=00000000
fixme:comm:set_queue_size insize 512 outsize 512 unimplemented stub
fixme:comm:set_queue_size insize 512 outsize 512 unimplemented stub
My app comes up normally and works normally, except for window sizing.
Winecfg for my app and graphics has checkmarks for but 'emulate a virtual desktop'
Win snapshot above, Linux encl.
Anything I can try ?
Thanks, Howard
Re: CreateEdit produces full size uneditable window
i have not given enough information. Will update this with more info...
Re: CreateEdit produces full size uneditable window
Try emulating a virtual desktop. You should also upgrade Wine to 1.7.26.Winecfg for my app and graphics has checkmarks for but 'emulate a virtual desktop'
Re: CreateEdit produces full size uneditable window
Ok, thanks --dimesio wrote:Try emulating a virtual desktop. You should also upgrade Wine to 1.7.26.Winecfg for my app and graphics has checkmarks for but 'emulate a virtual desktop'
Virtual desktop produces the same failure.
I have never had luck with Wine compiles. The error is the same as
http://pastebin.com/GJ94XnD8
using . tools/wineinstall of current binary.
---
make[2]: Entering directory `/home/n4af/Downloads/wine-1.1.27/dlls/ntdll'
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_NTSYSTEM_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o thread.o thread.c
In file included from thread.c:42:0:
../../include/ddk/wdm.h:429:11: error: duplicate member ‘u’
make[2]: *** [thread.o] Error 1
---
Let me give a better example of the code resulting in the small yellow window above in Windows and the FULL SCREEN window in Linux:
CreateModalDialog(140, 50, tr4whandle, AltDDlgProc, 0);
function AltDDlgProc(hwnddlg: HWND; Msg: UINT; wParam: wParam; lParam: lParam): BOOL; stdcall;
label
1;
var
P1, P2 : PChar;
begin
Result := False;
case Msg of
WM_INITDIALOG:
begin
Windows.SetWindowText(hwnddlg, RC_DUPECHECKOAR);
Format(TempBuffer1, TC_ENTERCALLTOBECHECKEDON, BandStringsArray[InActiveRadioPtr.BandMemory], ModeStringArray[InActiveRadioPtr.ModeMemory]);
CreateStatic(TempBuffer1, 15, 3, 250, hwnddlg, 102);
AltDEditWindowHandle := CreateEdit(ES_CENTER or ES_UPPERCASE or WS_BORDER, 15, 27, 250, 30, hwnddlg, 101);
asm
mov edx,[MainWindowEditFont]
call tWM_SETFONT
end;
CreateOKCancelButtons(hwnddlg);
I can give recreation scenario ?
Tks, Howard
Re: CreateEdit produces full size uneditable window
1.1.27 is 5 years old and won't build on a modern distro. The current development release is 1.7.26.make[2]: Entering directory `/home/n4af/Downloads/wine-1.1.27/dlls/ntdll'
Re: CreateEdit produces full size uneditable window
My bad.
The install runs ok, but
STRIPPROG="strip" ../../tools/install-sh wrc /usr/local/bin/wrc
make[1]: Leaving directory `/home/n4af/Downloads/wine-1.7.26/tools/wrc'
Installation complete.
If you have problems with Wine, please read the documentation first,
as many kinds of potential problems are explained there.
~/Downloads/wine-1.7.26wine --version
wine-1.7.18
If I try to remove old 1.7-18:
~wine uninstall
wine: cannot find L"C:\\windows\\system32\\uninstall.exe"
~wine US
wine: cannot find L"C:\\windows\\system32\\US.exe"
The install runs ok, but
STRIPPROG="strip" ../../tools/install-sh wrc /usr/local/bin/wrc
make[1]: Leaving directory `/home/n4af/Downloads/wine-1.7.26/tools/wrc'
Installation complete.
If you have problems with Wine, please read the documentation first,
as many kinds of potential problems are explained there.
~/Downloads/wine-1.7.26wine --version
wine-1.7.18
If I try to remove old 1.7-18:
~wine uninstall
wine: cannot find L"C:\\windows\\system32\\uninstall.exe"
~wine US
wine: cannot find L"C:\\windows\\system32\\US.exe"
Re: CreateEdit produces full size uneditable window
well, i did a sudo apt-get remove
sudo apt-get remove --purge
and reran the install but version seemed to stay at old level.
Somewhere along the line, it took as now:
~wine --version
wine-1.7.26
~
Unfortunately it has no effect on the problem. My window created by the above code will only display full screen.
Thanks, Howard
sudo apt-get remove --purge
and reran the install but version seemed to stay at old level.
Somewhere along the line, it took as now:
~wine --version
wine-1.7.26
~
Unfortunately it has no effect on the problem. My window created by the above code will only display full screen.
Thanks, Howard
Re: CreateEdit produces full size uneditable window
This problem is now tied to bug # 37297
Thanks to moderator for his assistance.
Howie
Thanks to moderator for his assistance.
Howie