Click here to Skip to main content
16,006,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC:: CString & Serialize ::C++ Pin
David Fedolfi22-Feb-02 10:54
David Fedolfi22-Feb-02 10:54 
GeneralRe: MFC:: CString & Serialize ::C++ Pin
Michael Dunn22-Feb-02 13:16
sitebuilderMichael Dunn22-Feb-02 13:16 
GeneralRe: MFC:: CString & Serialize ::C++ Pin
valikac22-Feb-02 16:50
valikac22-Feb-02 16:50 
GeneralDrawing Tools Pin
Flatline22-Feb-02 10:12
Flatline22-Feb-02 10:12 
GeneralRe: Drawing Tools Pin
Mazdak22-Feb-02 10:17
Mazdak22-Feb-02 10:17 
GeneralRe: Drawing Tools Pin
Christian Graus22-Feb-02 21:40
protectorChristian Graus22-Feb-02 21:40 
GeneralRe: Drawing Tools Pin
Flatline25-Feb-02 20:32
Flatline25-Feb-02 20:32 
GeneralRe: Drawing Tools Pin
Christian Graus26-Feb-02 10:49
protectorChristian Graus26-Feb-02 10:49 
Create a member CPoint, and every onMouseMove, draw a line from that point to the new mouse position, then store the new mouse position in the member variable. Free hand drawing can only occur to the degree the system notes each individual position the mouse moves over, so you don't lose any accuracy from doing it this way, and I can't see any other way of doing it.

If you want filled shapes you should store the positions in a vector, and call FillPolygon with the address of the first vector element on mouse up.


Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

GeneralRe: Drawing Tools Pin
Flatline1-Mar-02 9:37
Flatline1-Mar-02 9:37 
GeneralATL based spash screen Pin
koteswara22-Feb-02 9:45
koteswara22-Feb-02 9:45 
GeneralRe: ATL based spash screen Pin
Paul M Watt22-Feb-02 18:15
mentorPaul M Watt22-Feb-02 18:15 
QuestionHow do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 9:42
John Cruz22-Feb-02 9:42 
AnswerRe: How do u use AfxGetMainWnd & GetDC Pin
Tim Smith22-Feb-02 9:46
Tim Smith22-Feb-02 9:46 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 10:02
John Cruz22-Feb-02 10:02 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 10:07
John Cruz22-Feb-02 10:07 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
Nish Nishant22-Feb-02 10:04
sitebuilderNish Nishant22-Feb-02 10:04 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
John Cruz22-Feb-02 18:20
John Cruz22-Feb-02 18:20 
GeneralRe: How do u use AfxGetMainWnd & GetDC Pin
Nish Nishant22-Feb-02 20:00
sitebuilderNish Nishant22-Feb-02 20:00 
Generalwinsock packet delimiter separation Pin
Kuniva22-Feb-02 7:59
Kuniva22-Feb-02 7:59 
GeneralRe: winsock packet delimiter separation Pin
Tim Smith22-Feb-02 8:18
Tim Smith22-Feb-02 8:18 
Generalopening a dialog box Pin
Rajveer22-Feb-02 7:37
Rajveer22-Feb-02 7:37 
GeneralRe: opening a dialog box Pin
Sonu Kapoor22-Feb-02 7:51
Sonu Kapoor22-Feb-02 7:51 
GeneralRe: opening a dialog box Pin
Paul M Watt22-Feb-02 8:00
mentorPaul M Watt22-Feb-02 8:00 
GeneralRe: opening a dialog box Pin
Tili2-Dec-02 22:03
Tili2-Dec-02 22:03 
GeneralRe: opening a dialog box Pin
Jon Hulatt22-Feb-02 8:06
Jon Hulatt22-Feb-02 8:06 

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.