Click here to Skip to main content
15,899,313 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralNeed help to determine F0 in VC++ Pin
thanh_bkhn5-Nov-03 2:46
professionalthanh_bkhn5-Nov-03 2:46 
GeneralRe: Need help to determine F0 in VC++ Pin
David Crow5-Nov-03 5:11
David Crow5-Nov-03 5:11 
GeneralNetwork programming Pin
Katamneni5-Nov-03 2:44
Katamneni5-Nov-03 2:44 
GeneralRe: Network programming Pin
valikac5-Nov-03 5:59
valikac5-Nov-03 5:59 
GeneralCalling OpenGL display list Pin
Jean Bédard5-Nov-03 2:43
Jean Bédard5-Nov-03 2:43 
GeneralMore details Pin
Jean Bédard5-Nov-03 3:15
Jean Bédard5-Nov-03 3:15 
GeneralRe: More details Pin
Orhun Birsoy5-Nov-03 5:11
Orhun Birsoy5-Nov-03 5:11 
GeneralBM_SETIMAGE wont show the image Pin
ns5-Nov-03 2:35
ns5-Nov-03 2:35 
I am trying to set a bitmap on a button dragged from the toolbox. I checked its bitmap property. I do:
if(m_but1.GetSafeHwnd())
{
      m_but1.SendMessage( BM_SETIMAGE, (WPARAM)IMAGE_ICON, (LPARAM)(HANDLE)hicNewIcon);
}


where
hicNewIcon = theApp.LoadIcon(IDI_ICON1);


Initially my button comes up with no windowText. A button click on another button is supposed to show the bitmap on my button. SOmewhere I am doing something wrong....
Thanks,
nsConfused | :confused: Confused | :confused:
GeneralRe: BM_SETIMAGE wont show the image Pin
Michael Dunn5-Nov-03 12:40
sitebuilderMichael Dunn5-Nov-03 12:40 
GeneralRe: BM_SETIMAGE wont show the image Pin
ns7-Nov-03 3:00
ns7-Nov-03 3:00 
GeneralSimulate propertypage with the dialog dll-based Pin
w_yufeng5-Nov-03 2:24
w_yufeng5-Nov-03 2:24 
QuestionQueueUserWorkItem - how to call correctly? Pin
vgrigor5-Nov-03 2:07
vgrigor5-Nov-03 2:07 
AnswerRe: QueueUserWorkItem - how to call correctly? Pin
Mike Dimmick5-Nov-03 4:33
Mike Dimmick5-Nov-03 4:33 
GeneralRe: QueueUserWorkItem - how to call correctly? Pin
vgrigor5-Nov-03 4:41
vgrigor5-Nov-03 4:41 
QuestionIs accessing the registry every 1 second a bad idea? What other dynamic data storage method do you recommend? Pin
Varun Shoor5-Nov-03 2:00
Varun Shoor5-Nov-03 2:00 
AnswerRe: Is accessing the registry every 1 second a bad idea? What other dynamic data storage method do you recommend? Pin
vgrigor5-Nov-03 2:14
vgrigor5-Nov-03 2:14 
GeneralRe: Is accessing the registry every 1 second a bad idea? What other dynamic data storage method do you recommend? Pin
Varun Shoor5-Nov-03 2:28
Varun Shoor5-Nov-03 2:28 
GeneralRe: Is accessing the registry every 1 second a bad idea? What other dynamic data storage method do you recommend? Pin
vgrigor5-Nov-03 2:37
vgrigor5-Nov-03 2:37 
GeneralRe: Is accessing the registry every 1 second a bad idea? What other dynamic data storage method do you recommend? Pin
Dave Kreskowiak5-Nov-03 12:55
mveDave Kreskowiak5-Nov-03 12:55 
AnswerRe: Is accessing the registry every 1 second a bad idea? What other dynamic data storage method do you recommend? Pin
David Crow5-Nov-03 4:18
David Crow5-Nov-03 4:18 
QuestionPossible to swith Fibers in other thread ? Pin
vgrigor5-Nov-03 1:59
vgrigor5-Nov-03 1:59 
QuestionCBitmap bits/pixel reduction? Pin
mcondra5-Nov-03 1:19
mcondra5-Nov-03 1:19 
QuestionCreateFile : COMPORT limitation ?????? Pin
youssef5-Nov-03 0:04
youssef5-Nov-03 0:04 
Generalcapture Alt+F2 Pin
murali_utr4-Nov-03 23:43
murali_utr4-Nov-03 23:43 
GeneralRe: capture Alt+F2 Pin
David Crow5-Nov-03 4:53
David Crow5-Nov-03 4:53 

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.