Click here to Skip to main content
15,881,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Desktop Context menu "Paste Shortcut" issue, Please help Pin
Richard MacCutchan15-Jul-10 2:55
mveRichard MacCutchan15-Jul-10 2:55 
QuestionVisual C++ equivalent of "TModule" in Borland C++ [modified] Pin
coder21k14-Jul-10 21:48
coder21k14-Jul-10 21:48 
AnswerRe: Visual C++ equivalent of "TModule" in Borland C++ Pin
Cedric Moonen14-Jul-10 21:57
Cedric Moonen14-Jul-10 21:57 
GeneralRe: Visual C++ equivalent of "TModule" in Borland C++ Pin
coder21k14-Jul-10 22:05
coder21k14-Jul-10 22:05 
GeneralRe: Visual C++ equivalent of "TModule" in Borland C++ Pin
Cedric Moonen14-Jul-10 22:13
Cedric Moonen14-Jul-10 22:13 
AnswerRe: Visual C++ equivalent of "TModule" in Borland C++ Pin
Rolf Kristensen15-Jul-10 10:10
Rolf Kristensen15-Jul-10 10:10 
QuestionDrawing 3d Ellipse in MFC Pin
Anu_Bala14-Jul-10 20:09
Anu_Bala14-Jul-10 20:09 
AnswerRe: Drawing 3d Ellipse in MFC Pin
Emilio Garavaglia15-Jul-10 2:06
Emilio Garavaglia15-Jul-10 2:06 
Draw3dRect was introduced in Win3.1 to paint those shadowed rectangles that are the buttons.
Radiobutton look& feel are actually small bitmaps coming form user.dll, hence there is no direct API call.

The trick is to draw two ellipses, the first offset-ed by (2,2) with a pen of size 2 and a grayed color, and the second of regular (1) size, no offset, over the first.

More sophisticated looks can be found drawing three of them, one offset-ed to bottom-right (grayed) and another offset-ed to top-left (lighted) and a third "normal".

2 bugs found.
> recompile ...
65534 bugs found.
D'Oh! | :doh:


QuestionHow to convert Modal dialog to modeless dialog? Pin
svkotireddy14-Jul-10 19:27
svkotireddy14-Jul-10 19:27 
AnswerRe: How to convert Modal dialog to modeless dialog? Pin
Naveen14-Jul-10 19:30
Naveen14-Jul-10 19:30 
AnswerRe: How to convert Modal dialog to modeless dialog? Pin
Richard MacCutchan14-Jul-10 21:58
mveRichard MacCutchan14-Jul-10 21:58 
Questionhow to convert SDI application to MDI application? Pin
svkotireddy14-Jul-10 19:25
svkotireddy14-Jul-10 19:25 
AnswerRe: how to convert SDI application to MDI application? Pin
Richard MacCutchan14-Jul-10 22:02
mveRichard MacCutchan14-Jul-10 22:02 
AnswerRe: how to convert SDI application to MDI application? Pin
Emilio Garavaglia16-Jul-10 7:19
Emilio Garavaglia16-Jul-10 7:19 
Questionre:Windows VS/C++ and exiting with debuggable/traceable output Pin
Alan Kurlansky14-Jul-10 8:06
Alan Kurlansky14-Jul-10 8:06 
AnswerRe: re:Windows VS/C++ and exiting with debuggable/traceable output Pin
Code-o-mat14-Jul-10 9:26
Code-o-mat14-Jul-10 9:26 
GeneralRe: re:Windows VS/C++ and exiting with debuggable/traceable output Pin
Alan Kurlansky14-Jul-10 10:44
Alan Kurlansky14-Jul-10 10:44 
GeneralRe: re:Windows VS/C++ and exiting with debuggable/traceable output Pin
Naveen14-Jul-10 18:52
Naveen14-Jul-10 18:52 
GeneralRe: re:Windows VS/C++ and exiting with debuggable/traceable output Pin
Code-o-mat15-Jul-10 2:56
Code-o-mat15-Jul-10 2:56 
GeneralRe: re:Windows VS/C++ and exiting with debuggable/traceable output Pin
Alan Kurlansky15-Jul-10 4:10
Alan Kurlansky15-Jul-10 4:10 
QuestionHow to delete a file in AlluserProfile directory? Pin
0x808514-Jul-10 3:57
0x808514-Jul-10 3:57 
GeneralRe: How to delete a file in AlluserProfile directory? Pin
Aescleal14-Jul-10 4:04
Aescleal14-Jul-10 4:04 
GeneralRe: How to delete a file in AlluserProfile directory? Pin
0x808514-Jul-10 4:09
0x808514-Jul-10 4:09 
GeneralRe: How to delete a file in AlluserProfile directory? Pin
Aescleal14-Jul-10 4:25
Aescleal14-Jul-10 4:25 
AnswerRe: How to delete a file in AlluserProfile directory? Pin
Code-o-mat14-Jul-10 4:47
Code-o-mat14-Jul-10 4:47 

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.