[ros-kernel] WM_MDICREATE

Thomas Weidenmueller info at w3seek.de
Wed Dec 10 14:55:00 CET 2003


Ge van Geldorp wrote:

>>From: Richard Campbell
>>
>>Modified files:
>>	reactos/lib/user32/windows/: defwnd.c 
>>
>>Log message:
>>	implemented WM_MDICREATE
>>    
>>
>
>windows/defwnd.c: In function `User32DefWindowProc':
>windows/defwnd.c:1150: warning: passing arg 2 of
>`RtlCreateUnicodeStringFromAsciiz' discards qualifiers from pointer
>target type
>windows/defwnd.c:1156: warning: passing arg 2 of
>`RtlCreateUnicodeStringFromAsciiz' discards qualifiers from pointer
>target type
>make: *** [windows/defwnd.o] Error 1
>
>I'm not sure what you're trying to do in that message handler, but it
>seems, well, wrong. Besides, shouldn't WM_MDICREATE messages only be
>handled by MDIClient class windows? There's an implementation of a
>WM_MDICREATE handler in lib/user32/windows/mdi.c
>
>Gé van Geldorp.
>
>
>_______________________________________________
>Ros-kernel mailing list
>Ros-kernel at reactos.com
>http://reactos.com/mailman/listinfo/ros-kernel
>
>
>  
>
I agree, WM_MDICREATE should only be sent to the MDI client window.

Regards
Thomas



More information about the Ros-kernel mailing list