Click here to Skip to main content
15,896,269 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to get WPARAM from SendMessage? Pin
Cedric Moonen23-Oct-09 1:38
Cedric Moonen23-Oct-09 1:38 
GeneralRe: How to get WPARAM from SendMessage? Pin
002comp23-Oct-09 1:44
002comp23-Oct-09 1:44 
GeneralRe: How to get WPARAM from SendMessage? Pin
Cedric Moonen23-Oct-09 2:30
Cedric Moonen23-Oct-09 2:30 
AnswerRe: How to get WPARAM from SendMessage? Pin
Richard MacCutchan23-Oct-09 2:53
mveRichard MacCutchan23-Oct-09 2:53 
QuestionHow to Add Notification icon? Pin
KSagar23-Oct-09 0:57
KSagar23-Oct-09 0:57 
AnswerRe: How to Add Notification icon? Pin
Rajesh R Subramanian23-Oct-09 1:06
professionalRajesh R Subramanian23-Oct-09 1:06 
AnswerRe: How to Add Notification icon? Pin
Kushagra Tiwari23-Oct-09 1:07
Kushagra Tiwari23-Oct-09 1:07 
QuestionWS_CHILD CWnd WS_HSCROLL WS_VSCROLL display Problem Pin
rob_toutant23-Oct-09 0:11
rob_toutant23-Oct-09 0:11 
I have a CWnd Derived window. I have added several Child windows.
[main window]
[title_win]<-child window
[main_view_win]<-child window

I create the child window [main_view_win] using WS_CHILD|WS_VISIBLE|WS_HSCROLL|WS_VSCROLL the scroll bar exists and works however there are two problems.
problem one.
the scroll bar buttons initially are not drawn. ( thumb and middle part are drawn ) Once they are clicked on they are drawn properly.
when the child window [main_view_win] is covered by another window ( for example notepad ) the scrollbar's do not redraw until they are physically clicked on.

I have tried the following with no luck.
Made sure no other child window was overlapping.
Tried with clipchildren clip siblings turned on
turn off all painting functions to make sure i was not doing something stupid.
turned on and off erase background.

I did a quick test adding a scrollbar as a seperate child window and it worked just fine.

I was about to change my code ,illiminating the WS_VSCROLL and WS_HSCROLL, then I thought the smart people of codeproject might know what is happening.
AnswerRe: WS_CHILD CWnd WS_HSCROLL WS_VSCROLL display Problem Pin
Hans Dietrich23-Oct-09 3:32
mentorHans Dietrich23-Oct-09 3:32 
QuestionMatrix Addition Pin
ratprita22-Oct-09 23:13
ratprita22-Oct-09 23:13 
QuestionRe: Matrix Addition Pin
CPallini22-Oct-09 23:18
mveCPallini22-Oct-09 23:18 
QuestionRe: Matrix Addition Pin
David Crow23-Oct-09 2:56
David Crow23-Oct-09 2:56 
AnswerRe: Matrix Addition Pin
jianzhuhuai23-Oct-09 5:20
jianzhuhuai23-Oct-09 5:20 
Questionwhat is tab area? Pin
jianzhuhuai22-Oct-09 23:03
jianzhuhuai22-Oct-09 23:03 
AnswerRe: what is tab area? Pin
CPallini22-Oct-09 23:23
mveCPallini22-Oct-09 23:23 
GeneralRe: what is tab area? Pin
jianzhuhuai23-Oct-09 5:14
jianzhuhuai23-Oct-09 5:14 
QuestionRe: what is tab area? Pin
David Crow23-Oct-09 2:59
David Crow23-Oct-09 2:59 
QuestionWriting contacts into outlook Pin
Anil Kumar.Arvapalli22-Oct-09 21:56
Anil Kumar.Arvapalli22-Oct-09 21:56 
AnswerRe: Writing contacts into outlook [modified] Pin
Nuri Ismail22-Oct-09 22:10
Nuri Ismail22-Oct-09 22:10 
AnswerRe: Writing contacts into outlook Pin
Kushagra Tiwari23-Oct-09 0:37
Kushagra Tiwari23-Oct-09 0:37 
Questionfind angle Pin
ankit_akku22-Oct-09 21:48
ankit_akku22-Oct-09 21:48 
AnswerRe: find angle Pin
Iain Clarke, Warrior Programmer22-Oct-09 22:20
Iain Clarke, Warrior Programmer22-Oct-09 22:20 
AnswerRe: find angle Pin
theCPkid22-Oct-09 22:46
theCPkid22-Oct-09 22:46 
JokeRe: find angle Pin
Cedric Moonen22-Oct-09 22:56
Cedric Moonen22-Oct-09 22:56 
JokeRe: find angle Pin
CPallini22-Oct-09 23:15
mveCPallini22-Oct-09 23:15 

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.