Click here to Skip to main content
16,015,559 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRotate Rectangle Pin
raju_shiva12-Aug-10 18:22
raju_shiva12-Aug-10 18:22 
AnswerRe: Rotate Rectangle Pin
CPallini12-Aug-10 21:45
mveCPallini12-Aug-10 21:45 
QuestionHooking a driver to check application Pin
Fareed Rizkalla12-Aug-10 10:11
Fareed Rizkalla12-Aug-10 10:11 
QuestionInvalidate() Error CDialog Pin
mohit`1212-Aug-10 6:24
mohit`1212-Aug-10 6:24 
AnswerRe: Invalidate() Error CDialog Pin
Niklas L12-Aug-10 7:50
Niklas L12-Aug-10 7:50 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1213-Aug-10 4:53
mohit`1213-Aug-10 4:53 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1213-Aug-10 7:11
mohit`1213-Aug-10 7:11 
GeneralRe: Invalidate() Error CDialog Pin
Niklas L13-Aug-10 21:10
Niklas L13-Aug-10 21:10 
Having an instance of the tab_one class is not enough to get this right. I think you might be taking construction for creation. You construct a window wrapper object in the constructor, but that does not create the underlying window. It will however set m_hWnd to NULL. You have to call one of the Create methods in order to get a valid window handle, m_hWnd.

If you do this when your entire tab control is created, or better yet, when a tab is inserted into your tab control, you will not run into this problem.

GeneralRe: Invalidate() Error CDialog Pin
mohit`1215-Aug-10 10:38
mohit`1215-Aug-10 10:38 
GeneralRe: Invalidate() Error CDialog Pin
Niklas L15-Aug-10 22:28
Niklas L15-Aug-10 22:28 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1216-Aug-10 3:30
mohit`1216-Aug-10 3:30 
GeneralRe: Invalidate() Error CDialog Pin
Niklas L16-Aug-10 9:15
Niklas L16-Aug-10 9:15 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1216-Aug-10 9:32
mohit`1216-Aug-10 9:32 
GeneralRe: Invalidate() Error CDialog Pin
Niklas L16-Aug-10 10:22
Niklas L16-Aug-10 10:22 
GeneralRe: Invalidate() Error CDialog Pin
mohit`1216-Aug-10 18:14
mohit`1216-Aug-10 18:14 
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 
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 

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.