Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1217-Aug-10 9:11
mohit`1217-Aug-10 9:11 
GeneralRe: Invalidate() Error CDialog Pin
Niklas L17-Aug-10 10:33
Niklas L17-Aug-10 10:33 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1218-Aug-10 5:34
mohit`1218-Aug-10 5:34 
GeneralRe: Invalidate() Error CDialog Pin
Niklas L19-Aug-10 10:05
Niklas L19-Aug-10 10:05 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1220-Aug-10 6:27
mohit`1220-Aug-10 6:27 
GeneralRe: Invalidate() Error CDialog Pin
Niklas L20-Aug-10 9:25
Niklas L20-Aug-10 9:25 
AnswerRe: Invalidate() Error CDialog Pin
KarstenK12-Aug-10 21:44
mveKarstenK12-Aug-10 21:44 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1213-Aug-10 6:09
mohit`1213-Aug-10 6:09 
okay Hey,
I found out my problem but no solution yet. The reason m_hWnd is getting null because i am trying to update tab_one out side of that class which is mytabcontrol:
This is what happening :

My Tab Control (Holds Tab) Tab_one ( Holds data and on draw graph)
switch tab(tab_current changes) Draws first graph initial graph
if(tab_current changes) OnDraw() is called
tab_one is already initialized
---------> calls method -----------> ongraph1(){changes graph &try to update which should call ondraw again

it wont update because ongraph1() got called by mytabcontrol who doesn't know what m_hWnd is for tab_one if you call updategraph() inside of tab_one it will work and will show value of m_hWnd..but from mytabcontrol NOPE..

so is there anyway i can inform mytabcontrol that tab_one is initialzed and has soem value of m_hWnd and use that value to updategraph.
GeneralRe: Invalidate() Error CDialog Pin
KarstenK15-Aug-10 22:13
mveKarstenK15-Aug-10 22:13 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1216-Aug-10 3:31
mohit`1216-Aug-10 3:31 
GeneralRe: Invalidate() Error CDialog Pin
KarstenK16-Aug-10 3:37
mveKarstenK16-Aug-10 3:37 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1216-Aug-10 6:01
mohit`1216-Aug-10 6:01 
QuestionC++ MFC - DatePickerControl - DTN_DATETIMECHANGE event getting triggered twice when clicked !!!! Pin
Kausik4u12-Aug-10 4:26
Kausik4u12-Aug-10 4:26 
AnswerRe: C++ MFC - DatePickerControl - DTN_DATETIMECHANGE event getting triggered twice when clicked !!!! Pin
Niklas L12-Aug-10 6:18
Niklas L12-Aug-10 6:18 
Questionwave sound not playing properly..sounds different?? [modified] Pin
AmbiguousName12-Aug-10 0:41
AmbiguousName12-Aug-10 0:41 
AnswerRe: wave sound not playing properly..sounds different?? Pin
Maximilien12-Aug-10 3:14
Maximilien12-Aug-10 3:14 
QuestionRe: wave sound not playing properly..sounds different?? PinPopular
David Crow12-Aug-10 3:31
David Crow12-Aug-10 3:31 
AnswerRe: wave sound not playing properly..sounds different?? Pin
Niklas L12-Aug-10 5:37
Niklas L12-Aug-10 5:37 
GeneralRe: wave sound not playing properly..sounds different?? Pin
Richard MacCutchan12-Aug-10 6:15
mveRichard MacCutchan12-Aug-10 6:15 
QuestionRe: wave sound not playing properly..sounds different?? Pin
Niklas L12-Aug-10 6:48
Niklas L12-Aug-10 6:48 
AnswerRe: wave sound not playing properly..sounds different?? Pin
Richard MacCutchan12-Aug-10 9:57
mveRichard MacCutchan12-Aug-10 9:57 
GeneralRe: wave sound not playing properly..sounds different?? Pin
AmbiguousName12-Aug-10 6:32
AmbiguousName12-Aug-10 6:32 
AnswerRe: wave sound not playing properly..sounds different?? Pin
Richard MacCutchan12-Aug-10 10:00
mveRichard MacCutchan12-Aug-10 10:00 
QuestionCreateRemoteThread Error Pin
gothic_coder12-Aug-10 0:36
gothic_coder12-Aug-10 0:36 
AnswerRe: CreateRemoteThread Error Pin
_AnsHUMAN_ 12-Aug-10 2:30
_AnsHUMAN_ 12-Aug-10 2:30 

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.