Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Menus - Setting a check mark Pin
mcsherry22-Sep-04 3:17
mcsherry22-Sep-04 3:17 
GeneralRe: Menus - Setting a check mark Pin
mcsherry22-Sep-04 4:34
mcsherry22-Sep-04 4:34 
Generalfunction problem Pin
ISUstudent22-Sep-04 2:51
ISUstudent22-Sep-04 2:51 
QuestionWM_HOTKEY how to notice a global hotkey release (keyup)? Pin
Member 134487422-Sep-04 2:40
Member 134487422-Sep-04 2:40 
AnswerRe: WM_HOTKEY how to notice a global hotkey release (keyup)? Pin
Anonymous22-Sep-04 3:41
Anonymous22-Sep-04 3:41 
GeneralRe: WM_HOTKEY how to notice a global hotkey release (keyup)? Pin
Member 134487422-Sep-04 5:19
Member 134487422-Sep-04 5:19 
GeneralDetecting a pixel on the SDI Pin
jw8122-Sep-04 2:14
jw8122-Sep-04 2:14 
GeneralRe: Detecting a pixel on the SDI Pin
KaЯl22-Sep-04 5:04
KaЯl22-Sep-04 5:04 
1) There's the CDC::GetPixel(), which can give you the color of a pixel knowing its coordinates, But I'm not sure it's what you want. You can still use the good old geometric equations, knowing two points you know the equation of the line, so the coordinates of all the points of the line.

2) Not at my knowledge. The length of a segment is given by the formula length = sqr((endpoint.x - startpoint.x)*(endpoint.x - startpoint.x) + (endpoint.y - startpoint.y)*(endpoint.y - startpoint.y)). Calculating the length of a bezier curve is a little trickier, you may find a good approximation here[^].

3) Make all your drawings in your OnDraw method, and begin to draw items who are "behind" at first.






Fold With Us!
War is too serious a matter to entrust to military men - Georges Clémenceau (1841-1929)

GeneralRe: Detecting a pixel on the SDI Pin
jw8122-Sep-04 19:32
jw8122-Sep-04 19:32 
Generalnumber of bits in a byte (char) Pin
peterworth22-Sep-04 1:31
peterworth22-Sep-04 1:31 
GeneralRe: number of bits in a byte (char) Pin
Henry miller22-Sep-04 3:24
Henry miller22-Sep-04 3:24 
Generalincomin connection dialog Pin
mark18222-Sep-04 1:30
mark18222-Sep-04 1:30 
Generalsending voice over network Pin
pardis22-Sep-04 1:28
pardis22-Sep-04 1:28 
GeneralRe: sending voice over network Pin
Alexander M.,22-Sep-04 10:34
Alexander M.,22-Sep-04 10:34 
GeneralHelp required on search through a list of files. Pin
lisa.hao22-Sep-04 1:24
lisa.hao22-Sep-04 1:24 
GeneralVMR9 Pin
Dani7722-Sep-04 0:32
Dani7722-Sep-04 0:32 
GeneralListBox controlls Pin
Larsson22-Sep-04 0:23
Larsson22-Sep-04 0:23 
Generalbacking and restoring registry Pin
Monty222-Sep-04 0:23
Monty222-Sep-04 0:23 
GeneralRe: backing and restoring registry Pin
Mike Dimmick22-Sep-04 0:40
Mike Dimmick22-Sep-04 0:40 
GeneralRe: backing and restoring registry Pin
Monty222-Sep-04 0:56
Monty222-Sep-04 0:56 
GeneralRe: backing and restoring registry Pin
David Crow22-Sep-04 5:18
David Crow22-Sep-04 5:18 
GeneralDLL Export List Pin
Joel Holdsworth21-Sep-04 23:19
Joel Holdsworth21-Sep-04 23:19 
GeneralRe: DLL Export List Pin
Antony M Kancidrowski22-Sep-04 0:04
Antony M Kancidrowski22-Sep-04 0:04 
GeneralRe: DLL Export List Pin
Mike Dimmick22-Sep-04 0:30
Mike Dimmick22-Sep-04 0:30 
GeneralGetting titlebar button's sizes Pin
Sujan Christo21-Sep-04 22:41
Sujan Christo21-Sep-04 22:41 

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.