Click here to Skip to main content
15,923,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Is there any way a C/C++ program can crash before main()? Pin
solookin3-May-13 4:48
professionalsolookin3-May-13 4:48 
AnswerRe: Is there any way a C/C++ program can crash before main()? Pin
Amarnath S3-May-13 5:04
professionalAmarnath S3-May-13 5:04 
AnswerRe: Is there any way a C/C++ program can crash before main()? Pin
Vijjuuu.7-May-13 2:33
Vijjuuu.7-May-13 2:33 
QuestionQuerries about DXF file Pin
hrishtech2-May-13 19:29
hrishtech2-May-13 19:29 
AnswerRe: Querries about DXF file Pin
Jonathan Davies3-May-13 1:41
Jonathan Davies3-May-13 1:41 
QuestionHow to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
002comp2-May-13 19:04
002comp2-May-13 19:04 
AnswerRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
Coder Block2-May-13 19:31
Coder Block2-May-13 19:31 
GeneralRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
002comp2-May-13 19:45
002comp2-May-13 19:45 
Thanks For your Reply.
Actually , I am giving toolbar single bmp name to MenuItem.
For Example. ToolBar name is IDR_TOOLBAR1 which consist of images whose names are ID_FILE_NEW,ID_FILE_OPEN.

And Under Menu IDR_MENU1 have menuItems New,Open with ID ID_FILE_NEW and ID_FILE_OPEN same as in toolbar bmp.

And Used same LoadImage function to load Icon but returning NULL.
Or am I doing something Wrong?

Regards
y
GeneralRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
Coder Block2-May-13 19:51
Coder Block2-May-13 19:51 
GeneralRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
002comp2-May-13 20:38
002comp2-May-13 20:38 
AnswerRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
«_Superman_»2-May-13 19:53
professional«_Superman_»2-May-13 19:53 
GeneralRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
002comp2-May-13 20:34
002comp2-May-13 20:34 
AnswerRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
_Flaviu2-May-13 20:19
_Flaviu2-May-13 20:19 
GeneralRe: How to Load Image from Toolbar BMP resources for MenuItem icons ? Pin
002comp2-May-13 20:36
002comp2-May-13 20:36 
QuestionResizing dialog doesn't work if display changes Pin
Donguy19762-May-13 11:16
Donguy19762-May-13 11:16 
AnswerRe: Resizing dialog doesn't work if display changes Pin
«_Superman_»2-May-13 19:00
professional«_Superman_»2-May-13 19:00 
GeneralRe: Resizing dialog doesn't work if display changes Pin
Donguy19763-May-13 4:13
Donguy19763-May-13 4:13 
GeneralRe: Resizing dialog doesn't work if display changes Pin
«_Superman_»5-May-13 19:50
professional«_Superman_»5-May-13 19:50 
QuestionMFC: DIALOG_WIDE question Pin
econy2-May-13 6:52
econy2-May-13 6:52 
GeneralRe: MFC: DIALOG_WIDE question Pin
David Crow2-May-13 8:07
David Crow2-May-13 8:07 
QuestionStore pointers into CListCtrl Pin
_Flaviu2-May-13 2:33
_Flaviu2-May-13 2:33 
AnswerRe: Store pointers into CListCtrl Pin
David Crow2-May-13 3:06
David Crow2-May-13 3:06 
AnswerRe: Store pointers into CListCtrl Pin
«_Superman_»2-May-13 19:05
professional«_Superman_»2-May-13 19:05 
GeneralRe: Store pointers into CListCtrl Pin
_Flaviu2-May-13 20:23
_Flaviu2-May-13 20:23 
QuestionRe: Store pointers into CListCtrl Pin
David Crow3-May-13 5:02
David Crow3-May-13 5:02 

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.