Click here to Skip to main content
15,846,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to attach a menu to a Window? Pin
Nibu babu thomas27-Feb-06 23:52
Nibu babu thomas27-Feb-06 23:52 
AnswerRe: How to attach a menu to a Window? Pin
toxcct27-Feb-06 23:35
toxcct27-Feb-06 23:35 
AnswerRe: How to attach a menu to a Window? Pin
Mahhouraaaaaa27-Feb-06 23:41
Mahhouraaaaaa27-Feb-06 23:41 
Questionhelp, about waveinopen on w2k Pin
black frank27-Feb-06 21:47
black frank27-Feb-06 21:47 
AnswerRe: help, about waveinopen on w2k Pin
black frank1-Mar-06 14:26
black frank1-Mar-06 14:26 
Questionhow to load bitmap image in a sub-window? Pin
adiilah27-Feb-06 21:30
adiilah27-Feb-06 21:30 
AnswerRe: how to load bitmap image in a sub-window? Pin
Naveen27-Feb-06 21:51
Naveen27-Feb-06 21:51 
AnswerRe: how to load bitmap image in a sub-window? Pin
Hamid_RT27-Feb-06 22:04
Hamid_RT27-Feb-06 22:04 
#include <atlimage.h>
...
...
CImage m_image;

m_image.Load(m_FileName);//For Load Graphic Files

then
if draw Picture inthe Screen you use Event WM_PAINT and function BitBlt
For Static Control //CStatic
SetBitmap

else

for Buttons
you need OWNERDRAW in the property butoon
then
SetBitmap

You use CbitmapButton

else

For ListCtrl
you should use CImageList

else
in the Site CodeProject Directory Bitmap is good
,......
Have a nice day









-- modified at 3:05 Tuesday 28th February, 2006
AnswerRe: how to load bitmap image in a sub-window? Pin
Stephen Hewitt27-Feb-06 22:23
Stephen Hewitt27-Feb-06 22:23 
QuestionVisual studio is not responding when trying to add file Pin
BiswaR27-Feb-06 21:20
BiswaR27-Feb-06 21:20 
AnswerRe: Visual studio is not responding when trying to add file Pin
mbue27-Feb-06 22:32
mbue27-Feb-06 22:32 
GeneralRe: Visual studio is not responding when trying to add file Pin
BiswaR27-Feb-06 23:21
BiswaR27-Feb-06 23:21 
Questionhow to forbid printing by local printer or network printer? Pin
szcococut27-Feb-06 20:53
szcococut27-Feb-06 20:53 
Questionhelp with CArray object Pin
SWDevil27-Feb-06 20:36
SWDevil27-Feb-06 20:36 
AnswerRe: help with CArray object Pin
The-Lion-King27-Feb-06 20:48
The-Lion-King27-Feb-06 20:48 
GeneralRe: help with CArray object Pin
SWDevil27-Feb-06 20:53
SWDevil27-Feb-06 20:53 
QuestionRe: help with CArray object Pin
David Crow28-Feb-06 4:02
David Crow28-Feb-06 4:02 
Questioninitialization of member variables Pin
Kranti125198427-Feb-06 19:28
Kranti125198427-Feb-06 19:28 
AnswerRe: initialization of member variables Pin
khan++27-Feb-06 20:21
khan++27-Feb-06 20:21 
AnswerRe: initialization of member variables Pin
Vinaya27-Feb-06 20:24
Vinaya27-Feb-06 20:24 
GeneralRe: initialization of member variables Pin
Kranti125198427-Feb-06 20:32
Kranti125198427-Feb-06 20:32 
GeneralRe: initialization of member variables Pin
Vinaya27-Feb-06 20:40
Vinaya27-Feb-06 20:40 
GeneralRe: initialization of member variables Pin
sunit527-Feb-06 20:53
sunit527-Feb-06 20:53 
GeneralRe: initialization of member variables Pin
Salad Bar27-Feb-06 20:43
Salad Bar27-Feb-06 20:43 
GeneralRe: initialization of member variables Pin
Kranti125198427-Feb-06 20:46
Kranti125198427-Feb-06 20:46 

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.