I think the pointer is non-null only when the message came from a separately scroll bar control. If the message came from a window having WS_HSCROLL or WS_VSCROLL style, then there is no scroll bar controls (since window uses built-in scroll bars), and the pointer is NULL.
In this case you have to manipulate the scroll bar using CWnd’s members like SetScrollInfo.
i need help!
if is someone who can help me?
i write a dialog base aplication ! and i use 2 edit box and a list control . What i want to do! : i must write some text in first editbox and (the program must search in list control for that text) give me the answer in another text box if the text exist in list control or not an if not i need a dialog to start and answer me what i must do if the text don t exist "we will save new one" the text in list control is from a database in visualfoxpro 6.0.
Please someone HELP ME !!!!!!!!!
u only need to read text of edit by function GetWindowText() then check if it is inside of list-box by FindStringExact() (MFC function) - if u use Win32, try to do a little research by read docs/help-files about list-box.
//Can Anyone tell what alteration should I make to run my programme without error
I am using the RTF control in vc++ for my simple text document purpose.
I get the problem using Pressing the Esc key and i can't get the Keycode from on Keyup and Keydown events. Any one can solve this send to me.
I create a child process with the CreateProcess API and wait for its execution with WaitForSingleObject. How can I get the return code of that process. For instance my main program is MainProg, it starts ChildExe and ChildExe finds some problems and returns 34; How can MainProg know that return code?