1. WM_PROBLEMS

Hello
        I have problems in managing the Windows Messages
WM_VSCROLL and WM_HSCROLL (#115 #116): in the WndProc
i have put a line that simply print the values of iMsg
and wparam and when the value of iMsg is WM_VSCROLL or
WM_HSCROLL then wparam, in these cases, is always zero
while wparam should have in this case values that repre-
sent the windows messages SB_...(for the variables i have
used the same names used in the euphoria win32 demos for
a more easy reading). I refer to the method used in the
book "Programming Windows 95" Charles Petzold Microsoft
Press pag. 59-60...
        I have also seen that the Wackoze Euphoria Edi-
tor developed by Pete Eberlein (downloadable from the
Euphoria Official Page) don't use the method explained
in the book quoted above...
        I would love to see only a portion of code that
shows how to manage the WM_xSCROLL messages in a Euphoria
Win32 Program...

        Can u help me ?

        Thanks...

        Flaminio Ranzato

                Italy

new topic     » topic index » view message » categorize

2. Re: WM_PROBLEMS

>> I have problems in managing the Windows Messages
>> WM_VSCROLL and WM_HSCROLL (#115 #116): in the WndProc
>> i have put a line that simply print the values of iMsg
>> and wparam and when the value of iMsg is WM_VSCROLL or
>> WM_HSCROLL then wparam, in these cases, is always zero
>> while wparam should have in this case values that repre-

WM_VSCROLL and WM_HSCROLL (#115 #116) <<---- this should be #115 and #114

You have to explain exactly what you are trying to do.

Tell us what function you are trying to use and what you are trying
to accomplish.

If you are trying to add scrolling to your main window, you have to use
the WS_..... STYLE constants to display the scroll bars.

I don't understand whatyou mean by:
>> i have put a line that simply print the values of iMsg
>> and wparam and when the value of iMsg is WM_VSCROLL or
If your sending messages these parameters are inputs ???

Thank You
Bernie

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu