Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple Question on Button and Sound Pin
normanS13-Feb-05 23:10
normanS13-Feb-05 23:10 
GeneralWM_KILLFOCUS / WM_SETFOCUS Pin
PJ Arends13-Feb-05 10:17
professionalPJ Arends13-Feb-05 10:17 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
Ryan Binns13-Feb-05 17:14
Ryan Binns13-Feb-05 17:14 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
PJ Arends14-Feb-05 9:30
professionalPJ Arends14-Feb-05 9:30 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
Ryan Binns14-Feb-05 12:15
Ryan Binns14-Feb-05 12:15 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
PJ Arends14-Feb-05 20:56
professionalPJ Arends14-Feb-05 20:56 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
Ryan Binns14-Feb-05 22:57
Ryan Binns14-Feb-05 22:57 
GeneralAnimateWindow & OnPaint problem Pin
Anonymous13-Feb-05 8:49
Anonymous13-Feb-05 8:49 
Hi,
I'v got a problem trying to draw on DC of a dialog while using animatewindow(....AW_BLEND)
My drawings does NOT appear until I call Invalidate() manually!

So what happends is that an empty dialog Fades In and then all drawings suddenly appears.
It's so ugly!

However, I found a solution that I did not understand(!):


OnPrint(WPARAM wParam, LPARAM lParam)
{
CDC* pDC = CDC::FromHandle((HDC)wParam);

if ( lParam & PRF_NONCLIENT )

Do some drawings...

return 0;
}


[Author Mr. Shog9] did the following in a window(CWnd)

2 things:

1-It's difficult to understand, why a dialog box may have OnPrint Message[ consider the fact that I'm a beginner ]?!!Confused | :confused:

2-While Fading out, the code (some times) frozens the application
as Mr. 'richard sancenot' mentiond at the end of that article (Title:Balloon Help as a non-modal replacement for MessageBox())

Could any one Help me please?
Even if there is any article previously, would you tell me please.
I thank you in advanced.
Best regurds, Hamed.M
p.s.Excuse me if my english is not well.
Generalrun-time dll linking - getting a variable Pin
Kuniva13-Feb-05 8:18
Kuniva13-Feb-05 8:18 
GeneralRe: run-time dll linking - getting a variable Pin
Neville Franks13-Feb-05 9:43
Neville Franks13-Feb-05 9:43 
GeneralRe: run-time dll linking - getting a variable Pin
Kuniva13-Feb-05 12:40
Kuniva13-Feb-05 12:40 
GeneralUDP sockets -> select() not working .. Please HELP! Pin
Member 172877313-Feb-05 7:51
Member 172877313-Feb-05 7:51 
QuestionGetting size of file? Pin
Moochie513-Feb-05 7:48
Moochie513-Feb-05 7:48 
AnswerRe: Getting size of file? Pin
Ravi Bhavnani13-Feb-05 8:29
professionalRavi Bhavnani13-Feb-05 8:29 
GeneralRe: Getting size of file? Pin
Neville Franks13-Feb-05 9:38
Neville Franks13-Feb-05 9:38 
AnswerRe: Getting size of file? Pin
David Crow14-Feb-05 3:51
David Crow14-Feb-05 3:51 
GeneralRe: Getting size of file? Pin
Moochie514-Feb-05 16:24
Moochie514-Feb-05 16:24 
GeneralRebar problems! Pin
Temuri13-Feb-05 6:38
Temuri13-Feb-05 6:38 
GeneralRe: Rebar problems! Pin
Neville Franks13-Feb-05 9:57
Neville Franks13-Feb-05 9:57 
GeneralRe: Rebar problems! Pin
Temuri13-Feb-05 20:19
Temuri13-Feb-05 20:19 
GeneralRe: Rebar problems! Pin
Neville Franks13-Feb-05 20:29
Neville Franks13-Feb-05 20:29 
GeneralRe: Rebar problems! Pin
Temuri13-Feb-05 21:40
Temuri13-Feb-05 21:40 
GeneralRe: Rebar problems! Pin
Neville Franks14-Feb-05 9:29
Neville Franks14-Feb-05 9:29 
GeneralSQLConnect With Custom ODBC Driver Pin
KalliMan13-Feb-05 6:06
KalliMan13-Feb-05 6:06 
QuestionHow to read/write an object of MyClass from/to a file. Pin
six_billion13-Feb-05 5:59
six_billion13-Feb-05 5:59 

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.