Click here to Skip to main content
15,914,162 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Path of Application Pin
nguyenvhn21-Sep-04 1:19
nguyenvhn21-Sep-04 1:19 
GeneralRe: Path of Application Pin
vcplusplus21-Sep-04 2:49
vcplusplus21-Sep-04 2:49 
GeneralRe: Path of Application Pin
ThatsAlok23-Sep-04 3:41
ThatsAlok23-Sep-04 3:41 
General"Print Background Colours and Images" in CWebBrowser2 Ctrl Pin
jerry0davis20-Sep-04 22:17
jerry0davis20-Sep-04 22:17 
GeneralCursorClip Drawing Region Pin
jw8120-Sep-04 22:01
jw8120-Sep-04 22:01 
GeneralRe: CursorClip Drawing Region Pin
Branislav21-Sep-04 2:15
Branislav21-Sep-04 2:15 
GeneralRe: CursorClip Drawing Region Pin
jw8121-Sep-04 16:59
jw8121-Sep-04 16:59 
GeneralRe: CursorClip Drawing Region Pin
Branislav22-Sep-04 1:51
Branislav22-Sep-04 1:51 
POINT p;
GetClientRect(hwnd, &rcClip);
p.x = rcClip.left;
p.y = rcClip.top;
ClientToScreen(hwnd, &p);
OffsetRect(&rcClip, p.x, p.y);
ClipCursor(&rcClip);
ShowCursor(TRUE);
//////////////////////////////
// The GetClientRect function retrieves the coordinates of a window's client area. The client coordinates specify the upper-left and lower-right corners of the client area. Because client coordinates are relative to the upper-left corner of a window's client area, the coordinates of the upper-left corner will be (0,0).
// The ClientToScreen function replaces the client coordinates in the POINT structure with the screen coordinates. The screen coordinates are relative to the upper-left corner of the screen.
// The OffsetRect function moves the specified rectangle by the specified offsets.
// The ClipCursor function confines the cursor to a rectangular area on the screen. If a subsequent cursor position (set by the SetCursorPos function or the mouse) lies outside the rectangle, Windows automatically adjusts the position to keep the cursor inside the rectangular area.

GeneralStatic control for text width Pin
mike :D20-Sep-04 21:51
mike :D20-Sep-04 21:51 
GeneralA question about hint on the button Pin
Rassul Yunussov20-Sep-04 21:43
Rassul Yunussov20-Sep-04 21:43 
GeneralRe: A question about hint on the button Pin
Sujan Christo20-Sep-04 22:32
Sujan Christo20-Sep-04 22:32 
GeneralRe: A question about hint on the button Pin
Rassul Yunussov22-Sep-04 19:11
Rassul Yunussov22-Sep-04 19:11 
Generalweird stream << "behavior" Pin
froyd20-Sep-04 20:47
froyd20-Sep-04 20:47 
GeneralActiveX control in VC.Net Pin
Amol Chavan20-Sep-04 20:30
Amol Chavan20-Sep-04 20:30 
Generallocal window hook Pin
Sung-Won20-Sep-04 20:06
Sung-Won20-Sep-04 20:06 
GeneralDoes this Code look robust Pin
Monty220-Sep-04 19:20
Monty220-Sep-04 19:20 
GeneralRe: Does this Code look robust Pin
User 58385220-Sep-04 20:43
User 58385220-Sep-04 20:43 
GeneralRe: Does this Code look robust Pin
Monty220-Sep-04 21:12
Monty220-Sep-04 21:12 
GeneralRe: Does this Code look robust Pin
User 58385221-Sep-04 11:48
User 58385221-Sep-04 11:48 
GeneralMFC: Mouse Right-Click Event to remove and set the black spots in an image from 255 to 0 Pin
pohcb_sonic20-Sep-04 18:07
pohcb_sonic20-Sep-04 18:07 
GeneralRe: MFC: Mouse Right-Click Event to remove and set the black spots in an image from 255 to 0 Pin
Christian Graus20-Sep-04 18:24
protectorChristian Graus20-Sep-04 18:24 
GeneralCListBox formatting Pin
stevieo8420-Sep-04 18:07
stevieo8420-Sep-04 18:07 
GeneralRe: CListBox formatting Pin
Branislav21-Sep-04 1:07
Branislav21-Sep-04 1:07 
Questioncan accelerator keys be intercepted by ActiveX ? Pin
somesoft20-Sep-04 17:11
somesoft20-Sep-04 17:11 
QuestionPassing variables to function called by a thread?!?!?? Pin
Zero_G20-Sep-04 14:37
Zero_G20-Sep-04 14:37 

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.