¼öÁ¤³úÀÇ À§Å°
MFC(Microsoft Foundation Class) Library
DoxygenFindPageFrontPageHelpContentsLabVIEW › MFC

MFC ÆäÀÌÁö #


üũÇÒ Å¬·¡½º #

  • CCriticalSection
    MSDN - An object of class, CCriticalSection represents a "critical section" - a synchronization object that allows one thread at a time to access a resource or section of code. Critical sections are useful when only one thread at a time can be allowed to modify data or some other controlled resource.

±âŸ #

  • ´ëÈ­»óÀÚ À§Ä¡ Á¶Á¤: ÇöÀç´ëÈ­»óÀÚ ¹Ø¿¡ ºÙÀÓ
CRect myRect1, myRect2;
pLogDlg = new CLogDlg;
pLogDlg->Create(IDD_DIALOG_LOG);
pLogDlg->GetWindowRect(&myRect2);
myRect2.left = myRect1.left;
myRect2.top = myRect1.top;
myRect2.right = myRect1.right;
myRect2.OffsetRect(0,myRect1.Height());
pLogDlg->MoveWindow(myRect2);
pLogDlg->ShowWindow(TRUE);
/!\ ÆÄ¶ó¹ÌÅÍ Çü½Ä LPRECTÀº CRectÀÇ ·¹ÆÛ·±½º·Î ³Ñ°ÜÁØ´Ù.
void GetWindowRect( LPRECT lpRect ) const;
void MoveWindow( LPCRECT lpRect, BOOL bRepaint = TRUE );

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2008-01-03 14:12:19
Processing time 0.2806 sec