Click here to Skip to main content
16,007,885 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: cannot convert from 'class CString' to 'char [ ] Pin
Stephane Rodriguez.2-Nov-02 22:07
Stephane Rodriguez.2-Nov-02 22:07 
GeneralThread in MFC DLL!!!!!!!!!!!!!!!! Pin
stevenson2-Nov-02 14:20
stevenson2-Nov-02 14:20 
GeneralRe: Thread in MFC DLL!!!!!!!!!!!!!!!! Pin
ian mariano2-Nov-02 14:48
ian mariano2-Nov-02 14:48 
GeneralRe: Thread in MFC DLL!!!!!!!!!!!!!!!! Pin
Michael Dunn2-Nov-02 14:50
sitebuilderMichael Dunn2-Nov-02 14:50 
GeneralRe: Thread in MFC DLL!!!!!!!!!!!!!!!! Pin
ian mariano2-Nov-02 15:03
ian mariano2-Nov-02 15:03 
GeneralRe: Thread in MFC DLL!!!!!!!!!!!!!!!! Pin
stevenson2-Nov-02 19:47
stevenson2-Nov-02 19:47 
GeneralRe: Thread in MFC DLL!!!!!!!!!!!!!!!! Pin
ian mariano2-Nov-02 20:28
ian mariano2-Nov-02 20:28 
GeneralShake a window.. Pin
Anonymous2-Nov-02 13:40
Anonymous2-Nov-02 13:40 
Hello,
I am doing the following to shake a window (kinda like Yahoo! messenger's BUZZ friend).. Mine doesn't look as clean as theirs, any ideas on how I can do this better?

CRect pRect;
		pMain->GetWindowRect(pRect);
		int iH = pRect.Height();
		int iW = pRect.Width();

		pRect.InflateRect(-10,10);
		pMain->MoveWindow(pRect,TRUE);

		Sleep(10);

		pRect.InflateRect(10,-10);
		pMain->MoveWindow(pRect,TRUE);

		Sleep(10);

		pRect.InflateRect(20,20);
		pMain->MoveWindow(pRect,TRUE);

		Sleep(10);

		pRect.InflateRect(-20,-20);
		pMain->MoveWindow(pRect,TRUE);

		Sleep(10);

and so on and so on.....................................

GeneralRe: Shake a window.. Pin
ian mariano2-Nov-02 14:58
ian mariano2-Nov-02 14:58 
GeneralRe: Shake a window.. Pin
ian mariano2-Nov-02 15:02
ian mariano2-Nov-02 15:02 
GeneralRe: Shake a window.. Pin
Anonymous2-Nov-02 15:08
Anonymous2-Nov-02 15:08 
QuestionSelecting a region into a DC? Pin
Michael Dunn2-Nov-02 12:16
sitebuilderMichael Dunn2-Nov-02 12:16 
AnswerRe: Selecting a region into a DC? Pin
Paul M Watt2-Nov-02 13:38
mentorPaul M Watt2-Nov-02 13:38 
GeneralFirst-chance Exception in C++ Runtime Pin
Roger Wright2-Nov-02 11:53
professionalRoger Wright2-Nov-02 11:53 
GeneralRe: First-chance Exception in C++ Runtime Pin
Ravi Bhavnani2-Nov-02 14:09
professionalRavi Bhavnani2-Nov-02 14:09 
GeneralRe: First-chance Exception in C++ Runtime Pin
Roger Wright2-Nov-02 18:29
professionalRoger Wright2-Nov-02 18:29 
GeneralCalendar Control Problem Pin
Anonymous2-Nov-02 11:00
Anonymous2-Nov-02 11:00 
GeneralReading binary files with c stdio fread Pin
Anonymous2-Nov-02 10:18
Anonymous2-Nov-02 10:18 
GeneralRe: Reading binary files with c stdio fread Pin
Anders Molin3-Nov-02 2:48
professionalAnders Molin3-Nov-02 2:48 
GeneralSerialization Progress Pin
Ted Christiansen2-Nov-02 9:42
Ted Christiansen2-Nov-02 9:42 
GeneralRe: Serialization Progress Pin
ian mariano2-Nov-02 9:51
ian mariano2-Nov-02 9:51 
GeneralPhilosophical question Pin
Chris Losinger2-Nov-02 9:21
professionalChris Losinger2-Nov-02 9:21 
Generallet me answer my own question... Pin
Chris Losinger2-Nov-02 9:46
professionalChris Losinger2-Nov-02 9:46 
GeneralRe: Philosophical question Pin
ian mariano2-Nov-02 9:42
ian mariano2-Nov-02 9:42 
GeneralRe: Philosophical question Pin
ColinDavies2-Nov-02 9:43
ColinDavies2-Nov-02 9:43 

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.