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

C / C++ / MFC

 
Questiongeneral error c101008a: Failed to save manifest Pin
bruccutler22-May-07 12:33
bruccutler22-May-07 12:33 
AnswerRe: general error c101008a: Failed to save manifest Pin
bruccutler22-May-07 12:49
bruccutler22-May-07 12:49 
GeneralRe: general error c101008a: Failed to save manifest Pin
Member 1127422129-Nov-14 20:08
Member 1127422129-Nov-14 20:08 
Question11 digit numbers Pin
locoone22-May-07 12:27
locoone22-May-07 12:27 
AnswerRe: 11 digit numbers Pin
GameProfessor22-May-07 16:39
GameProfessor22-May-07 16:39 
QuestionTrouble making a custom mfc control... Pin
CoffeeAddict1922-May-07 12:14
CoffeeAddict1922-May-07 12:14 
AnswerRe: Trouble making a custom mfc control... Pin
Optimus Chaos22-May-07 20:29
Optimus Chaos22-May-07 20:29 
AnswerRe: Trouble making a custom mfc control... Pin
Mark Salsbery23-May-07 6:52
Mark Salsbery23-May-07 6:52 
You haven't shown how you create your memory DCs. I'm assuming you haven't, so they are invalid
when you initialize them in your constructor.

CWnd window objects are created in two steps - 1 to create the C++ object, and the second to
create the associated window object (HWND). You can't do anything requiring an HWND until the
HWND is valid. Any time in or after the WM_CREATE notification is received is fine.
OnCreate() is where you should be doing the initialization you've shown in your constructor Smile | :)

Mark


"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

Questiondll to lib Pin
llp00na22-May-07 11:37
llp00na22-May-07 11:37 
AnswerRe: dll to lib Pin
User 58385222-May-07 19:39
User 58385222-May-07 19:39 
GeneralRe: dll to lib Pin
llp00na23-May-07 1:56
llp00na23-May-07 1:56 
AnswerRe: dll to lib Pin
Mark Salsbery23-May-07 6:55
Mark Salsbery23-May-07 6:55 
QuestionAccessing the CView class from the CWinApp class? Pin
MasterShin22-May-07 11:03
MasterShin22-May-07 11:03 
AnswerRe: Accessing the CView class from the CWinApp class? Pin
Arman S.22-May-07 19:55
Arman S.22-May-07 19:55 
QuestionBitmap sappear as different colors Pin
Reagan Conservative22-May-07 9:56
Reagan Conservative22-May-07 9:56 
QuestionRe: Bitmap sappear as different colors Pin
CPallini22-May-07 10:08
mveCPallini22-May-07 10:08 
AnswerRe: Bitmap sappear as different colors Pin
Reagan Conservative22-May-07 10:17
Reagan Conservative22-May-07 10:17 
QuestionRe: Bitmap sappear as different colors Pin
Mark Salsbery23-May-07 6:58
Mark Salsbery23-May-07 6:58 
AnswerRe: Bitmap sappear as different colors Pin
Reagan Conservative23-May-07 8:03
Reagan Conservative23-May-07 8:03 
GeneralRe: Bitmap sappear as different colors Pin
Mark Salsbery23-May-07 8:55
Mark Salsbery23-May-07 8:55 
GeneralRe: Bitmap sappear as different colors Pin
Reagan Conservative23-May-07 9:27
Reagan Conservative23-May-07 9:27 
GeneralRe: Bitmap sappear as different colors Pin
Mark Salsbery23-May-07 12:35
Mark Salsbery23-May-07 12:35 
GeneralRe: Bitmap sappear as different colors Pin
Reagan Conservative24-May-07 3:10
Reagan Conservative24-May-07 3:10 
GeneralRe: Bitmap sappear as different colors Pin
Mark Salsbery24-May-07 5:17
Mark Salsbery24-May-07 5:17 
GeneralRe: Bitmap sappear as different colors Pin
Reagan Conservative24-May-07 5:56
Reagan Conservative24-May-07 5:56 

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.