Click here to Skip to main content
15,911,035 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralWindows remote control ? Need help.. Pin
Sandro Stella12-Jul-01 7:16
Sandro Stella12-Jul-01 7:16 
GeneralRe: Windows remote control ? Need help.. Pin
TomKat14-Mar-03 16:35
TomKat14-Mar-03 16:35 
General*** help *** simple Pin
12-Jul-01 6:22
suss12-Jul-01 6:22 
GeneralRe: *** help *** simple Pin
Steve T13-Jul-01 11:23
Steve T13-Jul-01 11:23 
QuestionCode flexibility - possible? Pin
11-Jul-01 19:54
suss11-Jul-01 19:54 
QuestionMHTML component ? Pin
11-Jul-01 10:30
suss11-Jul-01 10:30 
QuestionHow to capture the mouse on the Topmost window? Pin
inforix9-Jul-01 8:06
inforix9-Jul-01 8:06 
AnswerRe: How to capture the mouse on the Topmost window? Pin
TomKat14-Mar-03 16:41
TomKat14-Mar-03 16:41 
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, the system automatically adjusts the position to keep the cursor inside the rectangular area.

BOOL ClipCursor(
CONST RECT *lpRect // pointer to structure with rectangle
);

RECT r;
POINT p;
GetClientRect(hWnd,&r);
p.x=r.left;
p.y=r.top;
ClientToScreen(&p);
UINT w=r.right-r.left;
UINT h=r.bottom-r.top;

r.left=p.x;
r.top=p.y;
r.right=r.left+w;
r.bottom=r.top+h;

why am i doing this !?
if you capture the mouse inside a window and you right click the title bar it gets free ! this way it doesn`t !
Make sure to make your window system modal ! because if you loose control of the locked mouse RESET helps you brother !


//ate me or hate me

I am the mighty keeper of the book on knowledge . Contact me to get your copy .
GeneralResource Monitor Pin
9-Jul-01 2:56
suss9-Jul-01 2:56 
GeneralRe: Resource Monitor Pin
Tomasz Sowinski9-Jul-01 3:03
Tomasz Sowinski9-Jul-01 3:03 
GeneralRe: Resource Monitor Pin
10-Jul-01 9:06
suss10-Jul-01 9:06 
Generalsource code on buffer manager and page Pin
8-Jul-01 12:00
suss8-Jul-01 12:00 
QuestionIs file opened by another application? Pin
jantow8-Jul-01 1:43
jantow8-Jul-01 1:43 
AnswerRe: Is file opened by another application? Pin
8-Jul-01 1:53
suss8-Jul-01 1:53 
GeneralRe: Is file opened by another application? Pin
jantow8-Jul-01 8:12
jantow8-Jul-01 8:12 
GeneralRe: Is file opened by another application? Pin
jantow10-Jul-01 10:03
jantow10-Jul-01 10:03 
GeneralRe: Is file opened by another application? Pin
Erik Yuzwa12-Jul-01 11:21
Erik Yuzwa12-Jul-01 11:21 
GeneralMaunder combo grid Pin
abir6-Jul-01 18:46
abir6-Jul-01 18:46 
Generalprocessor status Pin
6-Jul-01 9:30
suss6-Jul-01 9:30 
GeneralRe: processor status Pin
Chris Losinger6-Jul-01 11:25
professionalChris Losinger6-Jul-01 11:25 
QuestionHow to get the status of a network interface???? Pin
3-Jul-01 11:29
suss3-Jul-01 11:29 
GeneralWindows XP Themes Pin
Alexander Boczar3-Jul-01 7:31
Alexander Boczar3-Jul-01 7:31 
GeneralRe: Windows XP Themes Pin
Michael Dunn3-Jul-01 8:39
sitebuilderMichael Dunn3-Jul-01 8:39 
GeneralCrystal Report 7.0 ... Pin
Hadi Rezaee3-Jul-01 1:59
Hadi Rezaee3-Jul-01 1:59 
GeneralSending files using FTP Pin
Brian van der Beek2-Jul-01 22:09
Brian van der Beek2-Jul-01 22:09 

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.