Click here to Skip to main content
15,902,908 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Windows Message Handling Pin
jk chan20-May-07 2:25
jk chan20-May-07 2:25 
AnswerRe: Windows Message Handling Pin
cp987620-May-07 16:19
cp987620-May-07 16:19 
QuestionHiding/Showing Radio Controls Pin
si_6919-May-07 22:33
si_6919-May-07 22:33 
AnswerRe: Hiding/Showing Radio Controls Pin
Rajesh R Subramanian19-May-07 22:40
professionalRajesh R Subramanian19-May-07 22:40 
GeneralRe: Hiding/Showing Radio Controls Pin
si_6919-May-07 22:47
si_6919-May-07 22:47 
GeneralRe: Hiding/Showing Radio Controls Pin
Ravi Bhavnani20-May-07 20:26
professionalRavi Bhavnani20-May-07 20:26 
AnswerRe: Hiding/Showing Radio Controls Pin
David Crow21-May-07 3:45
David Crow21-May-07 3:45 
QuestionSliderbar problem Pin
scody19-May-07 21:26
scody19-May-07 21:26 
Hi,

I am new to windows programming. In my code I would require to change the slider bar position, which I have accomplished by sending message.

::SendMessage( aControlHWnd, TBM_SETPOS, (WPARAM) (BOOL) TRUE, (LPARAM)(LONG) aPosition );

The problem is with the updation of the window according to the new sliderbar position, I mean, when I change the position of the sliderbar it is changed visually, but the corresponding values in other objects (like textbox showing the value related to this sliderbar) are not updated.
To accomplish this I tried

::NotifyWinEvent( EVENT_OBJECT_VALUECHANGE, theDialogHWnd, OBJID_HSCROLL, CHILDID_SELF );

where theDialogHWnd is the handle for the dialog window containing the sliderbar and the textbox, but it didn't work. I am not sure if the parameters I am using are correct, or the event I am trying to notify, or may be my approach to the problem itself is wrong. I do understand that this can be easily accomplished by sending a keyboard or mouse event, but I am tryin not to use it.

Any help would be greatly appriciated.

Thanks.
AnswerRe: Sliderbar problem Pin
zqueezy20-May-07 2:31
zqueezy20-May-07 2:31 
AnswerRe: Sliderbar problem Pin
Mark Salsbery20-May-07 6:53
Mark Salsbery20-May-07 6:53 
QuestionIPaddress control-please help me Pin
prathuraj19-May-07 21:04
prathuraj19-May-07 21:04 
AnswerRe: IPaddress control-please help me Pin
Arman S.19-May-07 21:07
Arman S.19-May-07 21:07 
GeneralRe: IPaddress control-please help me Pin
prathuraj19-May-07 21:16
prathuraj19-May-07 21:16 
GeneralRe: IPaddress control-please help me Pin
Manoj Kumar Rai20-May-07 9:20
professionalManoj Kumar Rai20-May-07 9:20 
AnswerRe: IPaddress control-please help me Pin
David Crow21-May-07 3:49
David Crow21-May-07 3:49 
QuestionI can't load file txt by using CStdioFile Pin
whale8419-May-07 17:54
whale8419-May-07 17:54 
QuestionRe: I can't load file txt by using CStdioFile Pin
Hamid_RT19-May-07 19:07
Hamid_RT19-May-07 19:07 
QuestionRe: I can't load file txt by using CStdioFile Pin
bob1697219-May-07 19:40
bob1697219-May-07 19:40 
AnswerRe: I can't load file txt by using CStdioFile Pin
bob1697219-May-07 19:49
bob1697219-May-07 19:49 
GeneralRe: I can't load file txt by using CStdioFile Pin
whale8419-May-07 21:42
whale8419-May-07 21:42 
QuestionRe: I can't load file txt by using CStdioFile Pin
David Crow21-May-07 3:51
David Crow21-May-07 3:51 
QuestionCan't open project workspace Pin
Max++19-May-07 17:08
Max++19-May-07 17:08 
QuestionRe: Can't open project workspace Pin
Hamid_RT19-May-07 19:47
Hamid_RT19-May-07 19:47 
AnswerRe: Can't open project workspace Pin
GuyM19-May-07 20:16
GuyM19-May-07 20:16 
GeneralRe: Can't open project workspace Pin
Max++19-May-07 20:23
Max++19-May-07 20:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.