Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A new child frame Pin
26-Nov-01 1:00
suss26-Nov-01 1:00 
GeneralRe: A new child frame Pin
Chambers26-Nov-01 10:41
Chambers26-Nov-01 10:41 
Questionhow to change the keyboard's Num Lock status programmatically? Pin
haiyan_qi25-Nov-01 22:06
haiyan_qi25-Nov-01 22:06 
AnswerRe: how to change the keyboard's Num Lock status programmatically? Pin
Nish Nishant25-Nov-01 22:17
sitebuilderNish Nishant25-Nov-01 22:17 
GeneralRe: how to change the keyboard's Num Lock status programmatically? Pin
haiyan_qi25-Nov-01 23:27
haiyan_qi25-Nov-01 23:27 
GeneralRe: how to change the keyboard's Num Lock status programmatically? Pin
Nish Nishant25-Nov-01 23:33
sitebuilderNish Nishant25-Nov-01 23:33 
GeneralRe: how to change the keyboard's Num Lock status programmatically? Pin
Rashid Thadha26-Nov-01 2:53
Rashid Thadha26-Nov-01 2:53 
QuestionMFC and SDK??? Pin
Leesen25-Nov-01 21:11
Leesen25-Nov-01 21:11 
Hi,all
Is the OnPaint function in MFC just the same as the content between BeginPaint and EndPaint in SDK????
Does the system create WM_PAINT after it receive WM_SETCURSOR?
Now there are some problems in my application.I describe
it simply just as below.
Firstly:
OnPaint()
{
LoadBigBitmap(); //can fill the whole client view
if(m_flag)
LoadSmallBitmap();
}
OnLButtonDown()
{
m_flag=TRUE;
Invalidate(FALSE);
UpdateWindow();
}
OnSetCursor()
{
// set my own Cursor and return TRUE
}
Then, when I run this application, errors occurrs.
First, it display the BigBitmap .
After I click down on the client view, then it would display
the SmallBitmap,although,just for a while. then when I move
the cursor the SmallBitmap will disappear.

It disturbs me for long time, who can help me???
All your help will be appreciated!
Regards.
AnswerRe: MFC and SDK??? Pin
mloibl25-Nov-01 21:51
mloibl25-Nov-01 21:51 
QuestionHow use Icons Pin
Eugene Pustovoyt25-Nov-01 20:03
Eugene Pustovoyt25-Nov-01 20:03 
AnswerRe: How use Icons Pin
Nish Nishant25-Nov-01 20:19
sitebuilderNish Nishant25-Nov-01 20:19 
GeneralRe: How use Icons Pin
Eugene Pustovoyt25-Nov-01 21:15
Eugene Pustovoyt25-Nov-01 21:15 
GeneralCD device detection Pin
Jared Allen25-Nov-01 18:50
Jared Allen25-Nov-01 18:50 
Generala question about the pointer of a function Pin
Chen Jiadong25-Nov-01 18:14
Chen Jiadong25-Nov-01 18:14 
GeneralRe: a question about the pointer of a function Pin
Nish Nishant25-Nov-01 18:29
sitebuilderNish Nishant25-Nov-01 18:29 
GeneralRe: a question about the pointer of a function Pin
Chen Jiadong25-Nov-01 21:30
Chen Jiadong25-Nov-01 21:30 
GeneralRe: a question about the pointer of a function Pin
Nish Nishant25-Nov-01 21:53
sitebuilderNish Nishant25-Nov-01 21:53 
GeneralRe: a question about the pointer of a function Pin
Chen Jiadong25-Nov-01 22:17
Chen Jiadong25-Nov-01 22:17 
GeneralRe: a question about the pointer of a function Pin
Jon Hulatt25-Nov-01 22:26
Jon Hulatt25-Nov-01 22:26 
GeneralRe: a question about the pointer of a function Pin
Nish Nishant25-Nov-01 22:29
sitebuilderNish Nishant25-Nov-01 22:29 
GeneralRe: a question about the pointer of a function Pin
Chen Jiadong25-Nov-01 22:38
Chen Jiadong25-Nov-01 22:38 
QuestionAre Compound Files always so big? Pin
longwalk25-Nov-01 17:17
longwalk25-Nov-01 17:17 
AnswerRe: Are Compound Files always so big? Pin
Rob Caldecott25-Nov-01 23:47
Rob Caldecott25-Nov-01 23:47 
Questionhow to hide the taskbar programmatically? Pin
haiyan_qi25-Nov-01 16:48
haiyan_qi25-Nov-01 16:48 
AnswerRe: how to hide the taskbar programmatically? Pin
Nish Nishant25-Nov-01 17:44
sitebuilderNish Nishant25-Nov-01 17:44 

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.