discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Menu Windows Moving in Windows


From: MA Garcias
Subject: Re: Menu Windows Moving in Windows
Date: Mon, 10 May 2004 09:38:35 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

Last friday I released a patch
(https://savannah.gnu.org/patch/index.php?func=detailitem&item_id=3022)
for correctly handling the required messages in the win32 backend, not
only for menus but for any other windows. The problem actually was that
the frontend wasn't synchronized with the backend and the moved/resized
windows weren't updated nor redrawn appropiately. If you look at the
code from the GUI part, you'll see that both the menu (and some other
controls too) rely on the window position being updated inside their
event loop, which failed to happen in win32. Try to apply the patch and
report your results.

maGarcias | tragnarionStudios

S.J.Chun wrote:

>Hi, attached file is my simple testing code of NSMenu related drawing in 
>GNUstepBack bundle. Currently I cannot move
>NSMenu window CORRECTLY. I think we should add similar logic of my attached 
>file when WM_LBUTTONDOWN case.
>My idea is, if we can know whether current window is menu (from hwnd) and 
>current position of buttondown is in the
>menu title then do SendMessage(...). Am I wrong ? If this is right, can anyone 
>let me know how can I know whether
>this hwnd is for Menu or not ?
>
>Thanks in advance.
>
>
>_______________________________________________
>Discuss-gnustep mailing list
>Discuss-gnustep@gnu.org
>http://mail.gnu.org/mailman/listinfo/discuss-gnustep
>
>
>
>  
>







reply via email to

[Prev in Thread] Current Thread [Next in Thread]