Click here to Skip to main content
15,885,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSuddenly Exe is not running Pin
pix_programmer6-Jun-11 2:16
pix_programmer6-Jun-11 2:16 
AnswerRe: Suddenly Exe is not running Pin
Alan Balkany6-Jun-11 9:21
Alan Balkany6-Jun-11 9:21 
AnswerRe: Suddenly Exe is not running Pin
Stefan_Lang7-Jun-11 2:17
Stefan_Lang7-Jun-11 2:17 
GeneralRe: Suddenly Exe is not running Pin
pix_programmer7-Jun-11 2:49
pix_programmer7-Jun-11 2:49 
GeneralRe: Suddenly Exe is not running Pin
Stefan_Lang7-Jun-11 2:55
Stefan_Lang7-Jun-11 2:55 
GeneralRe: Suddenly Exe is not running Pin
pix_programmer7-Jun-11 3:00
pix_programmer7-Jun-11 3:00 
GeneralRe: Suddenly Exe is not running Pin
Stefan_Lang7-Jun-11 3:26
Stefan_Lang7-Jun-11 3:26 
QuestionDisplay CBitmap into CStatic [modified] Pin
_Flaviu6-Jun-11 1:54
_Flaviu6-Jun-11 1:54 
Please tell me what I am doing wrong because in CStatic I didn't see anything :
BOOL CMyPage::OnInitDialog() 
{
	CPropertyPage::OnInitDialog();

	// TODO: Add extra initialization here

	CBitmap bitmap;
	bitmap.LoadBitmap(IDB_BITMAP1));
	m_staticIcon.SetBitmap((HBITMAP)bitmap);

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

Of course m_staticIcon have SS_BITMAP style.
Thank you.

modified on Monday, June 6, 2011 8:06 AM

AnswerRe: Display CBitmap into CStatic Pin
Roger Allen6-Jun-11 2:24
Roger Allen6-Jun-11 2:24 
GeneralRe: Display CBitmap into CStatic Pin
_Flaviu6-Jun-11 2:39
_Flaviu6-Jun-11 2:39 
QuestionCStatic ModifyStyle Pin
_Flaviu6-Jun-11 1:00
_Flaviu6-Jun-11 1:00 
AnswerRe: CStatic ModifyStyle Pin
The_Inventor6-Jun-11 20:41
The_Inventor6-Jun-11 20:41 
AnswerRe: CStatic ModifyStyle Pin
Code-o-mat7-Jun-11 22:59
Code-o-mat7-Jun-11 22:59 
QuestionHow to use tcp keepalive to check the client is alive? Pin
wangningyu4-Jun-11 23:23
wangningyu4-Jun-11 23:23 
AnswerRe: How to use tcp keepalive to check the client is alive? Pin
Code-o-mat5-Jun-11 22:55
Code-o-mat5-Jun-11 22:55 
GeneralRe: How to use tcp keepalive to check the client is alive? Pin
Emilio Garavaglia6-Jun-11 3:41
Emilio Garavaglia6-Jun-11 3:41 
GeneralRe: How to use tcp keepalive to check the client is alive? Pin
Code-o-mat6-Jun-11 3:58
Code-o-mat6-Jun-11 3:58 
AnswerRe: How to use tcp keepalive to check the client is alive? Pin
jschell6-Jun-11 9:07
jschell6-Jun-11 9:07 
Questionmysql error and UNICODE Pin
includeh104-Jun-11 18:44
includeh104-Jun-11 18:44 
AnswerRe: mysql error and UNICODE Pin
Code-o-mat5-Jun-11 22:26
Code-o-mat5-Jun-11 22:26 
QuestionIs it possible to set another visual style only for my application [modified] Pin
Cold_Fearing_Bird4-Jun-11 16:59
Cold_Fearing_Bird4-Jun-11 16:59 
AnswerRe: Is it possible to set another visual style only for my application Pin
Rotted Frog6-Jun-11 20:46
Rotted Frog6-Jun-11 20:46 
Question[Win32] How draw a rectangle on the desktop Pin
Member 29654714-Jun-11 9:34
Member 29654714-Jun-11 9:34 
QuestionRe: [Win32] How draw a rectangle on the desktop Pin
Mark Salsbery4-Jun-11 11:16
Mark Salsbery4-Jun-11 11:16 
AnswerRe: [Win32] How draw a rectangle on the desktop Pin
Member 29654714-Jun-11 11:51
Member 29654714-Jun-11 11:51 

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.