Click here to Skip to main content
15,887,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Displaying static control on title bar of a dialog Pin
Q2A9-Feb-07 1:20
Q2A9-Feb-07 1:20 
GeneralRe: Displaying static control on title bar of a dialog Pin
Cedric Moonen9-Feb-07 1:48
Cedric Moonen9-Feb-07 1:48 
AnswerRe: Displaying static control on title bar of a dialog Pin
Hamid_RT9-Feb-07 5:25
Hamid_RT9-Feb-07 5:25 
Questiondisplaying text in diffrent font on rich edit control Pin
Swapnil G8-Feb-07 21:31
Swapnil G8-Feb-07 21:31 
AnswerRe: displaying text in diffrent font on rich edit control Pin
Hamid_RT8-Feb-07 21:38
Hamid_RT8-Feb-07 21:38 
QuestionAbout windowless mode Pin
siddharthsan8-Feb-07 21:25
siddharthsan8-Feb-07 21:25 
AnswerRe: About windowless mode Pin
Waldermort8-Feb-07 21:39
Waldermort8-Feb-07 21:39 
QuestionHow to embed a bitmap file into executable? Pin
LoadBitmap8-Feb-07 21:12
LoadBitmap8-Feb-07 21:12 
Hello, I am using VC++2005 with this line of code to load a bitmap which is already added as a resource file:

m_hBitmap = (HBITMAP)LoadImage(GetModuleHandle(NULL), "res/Image.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);

But when I execute the compiled exe file, it throws this error "Error loading Bitmap" and I have create a "res" folder and copy "Image.bmp" into it for the executable to run properly.

Does anyone know how to integrate the folder into sigle executable file?

Thanks in advance!

Lantianman
AnswerRe: How to embed a bitmap file into executable? Pin
Michael Dunn8-Feb-07 21:20
sitebuilderMichael Dunn8-Feb-07 21:20 
AnswerRe: How to embed a bitmap file into executable? Pin
Hamid_RT8-Feb-07 21:20
Hamid_RT8-Feb-07 21:20 
GeneralRe: How to embed a bitmap file into executable? Pin
LoadBitmap8-Feb-07 21:43
LoadBitmap8-Feb-07 21:43 
GeneralRe: How to embed a bitmap file into executable? Pin
Hamid_RT8-Feb-07 21:47
Hamid_RT8-Feb-07 21:47 
QuestionBest IPC mechanism Pin
vipin_nvk8-Feb-07 20:22
vipin_nvk8-Feb-07 20:22 
AnswerRe: Best IPC mechanism Pin
Michael Dunn8-Feb-07 20:34
sitebuilderMichael Dunn8-Feb-07 20:34 
GeneralRe: Best IPC mechanism Pin
vipin_nvk8-Feb-07 20:47
vipin_nvk8-Feb-07 20:47 
GeneralRe: Best IPC mechanism Pin
Michael Dunn8-Feb-07 21:16
sitebuilderMichael Dunn8-Feb-07 21:16 
GeneralRe: Best IPC mechanism Pin
brakeshb8-Feb-07 21:28
brakeshb8-Feb-07 21:28 
GeneralRe: Best IPC mechanism Pin
Mark Salsbery9-Feb-07 6:06
Mark Salsbery9-Feb-07 6:06 
QuestionHow to add a Menus like file,Edit,View on a dialog box? Pin
Sameer_Thakur8-Feb-07 19:08
Sameer_Thakur8-Feb-07 19:08 
AnswerRe: How to add a Menus like file,Edit,View on a dialog box? Pin
Hamid_RT8-Feb-07 19:12
Hamid_RT8-Feb-07 19:12 
AnswerRe: How to add a Menus like file,Edit,View on a dialog box? Pin
toxcct8-Feb-07 19:13
toxcct8-Feb-07 19:13 
GeneralRe: How to add a Menus like file,Edit,View on a dialog box? Pin
Sameer_Thakur8-Feb-07 19:20
Sameer_Thakur8-Feb-07 19:20 
GeneralRe: How to add a Menus like file,Edit,View on a dialog box? Pin
Naveen8-Feb-07 19:22
Naveen8-Feb-07 19:22 
GeneralRe: How to add a Menus like file,Edit,View on a dialog box? Pin
Sameer_Thakur8-Feb-07 19:30
Sameer_Thakur8-Feb-07 19:30 
GeneralRe: How to add a Menus like file,Edit,View on a dialog box? Pin
Naveen8-Feb-07 19:35
Naveen8-Feb-07 19:35 

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.