Click here to Skip to main content
16,004,977 members
Home / Discussions / Article Writing
   

Article Writing

 
QuestionHow to close a file opened with CreateFile API Pin
SAK4-Oct-01 9:27
SAK4-Oct-01 9:27 
AnswerRe: How to close a file opened with CreateFile API Pin
Chris Losinger4-Oct-01 9:51
professionalChris Losinger4-Oct-01 9:51 
GeneralRe: How to close a file opened with CreateFile API Pin
SAK4-Oct-01 12:12
SAK4-Oct-01 12:12 
AnswerRe: How to close a file opened with CreateFile API Pin
Lim Bio Liong3-Dec-01 0:41
Lim Bio Liong3-Dec-01 0:41 
GeneralSQL CE Skip Pattern Surveying Pin
Terence4-Oct-01 5:00
Terence4-Oct-01 5:00 
GeneralSimple search engine in c# Pin
Bryan24-Oct-01 4:45
Bryan24-Oct-01 4:45 
GeneralDrawing lines with OpenGL(like the Paint program in windows) Pin
Steve Lai3-Oct-01 18:48
Steve Lai3-Oct-01 18:48 
GeneralRe: Drawing lines with OpenGL(like the Paint program in windows) Pin
Jonathan de Halleux31-Oct-01 3:17
Jonathan de Halleux31-Oct-01 3:17 
1. Override OnLeftMouseDwn
Store the position of the mouse when clicked, set a flag to tell that the left button is down,

2. Override OnMove
Store the position of the actual position of the mouse,
ask for redraw, (InvalidateRect(NULL,FALSE);

3. In OnDraw,
check if left button is down, if so, draw a line from initial position to actual position,

4. Override OnLeftMouseUp,
unset the flag.

This is the basic idea, of course you can refine the concept.

Jonathan de Halleux, Belgium.

GeneralNET DataSet Implemented in Visual C++ Pin
jawillia993-Oct-01 4:36
jawillia993-Oct-01 4:36 
GeneralRemoving cursor from Richedit control Pin
Newbie3-Oct-01 0:34
Newbie3-Oct-01 0:34 
GeneralRe: Removing cursor from Richedit control Pin
Ravi Bhavnani4-Oct-01 7:42
professionalRavi Bhavnani4-Oct-01 7:42 
GeneralRe: Removing cursor from Richedit control Pin
Newbie5-Oct-01 3:33
Newbie5-Oct-01 3:33 
GeneralGetting memory address from handle Pin
SAK2-Oct-01 8:51
SAK2-Oct-01 8:51 
GeneralRebuilding project (VBS) Pin
Igor Proskuriakov2-Oct-01 3:20
Igor Proskuriakov2-Oct-01 3:20 
Generalgenerate graph source code in c++ Pin
1-Oct-01 20:47
suss1-Oct-01 20:47 
GeneralPalm Serial Port (Code Request) Pin
Jayce1-Oct-01 17:57
Jayce1-Oct-01 17:57 
Generalasp Pin
ah_san30-Sep-01 22:27
ah_san30-Sep-01 22:27 
GeneralRe: asp Pin
pushpi24-Oct-01 20:19
pushpi24-Oct-01 20:19 
GeneralIp phone Pin
ah_san30-Sep-01 20:51
ah_san30-Sep-01 20:51 
GeneralPalm programming for SMS ( Code request ) Pin
yskinny30-Sep-01 20:31
yskinny30-Sep-01 20:31 
GeneralIP grabber Pin
29-Sep-01 18:55
suss29-Sep-01 18:55 
GeneralRe: IP grabber Pin
Michael Dunn29-Sep-01 19:48
sitebuilderMichael Dunn29-Sep-01 19:48 
GeneralPoint of Sale Printers Pin
Steve Thresher27-Sep-01 2:12
Steve Thresher27-Sep-01 2:12 
GeneralVisio like diagram generating free code.. Pin
Ryan Park25-Sep-01 19:31
Ryan Park25-Sep-01 19:31 
Generalcausing a mouse drag programaticly Pin
SAK25-Sep-01 6:49
SAK25-Sep-01 6:49 

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.