Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: status bar in mIRC.. how you do this ? Pin
ELY M.29-Jan-04 6:38
ELY M.29-Jan-04 6:38 
GeneralRe: status bar in mIRC.. how you do this ? Pin
toxcct29-Jan-04 7:58
toxcct29-Jan-04 7:58 
GeneralRe: status bar in mIRC.. how you do this ? Pin
Robert A. T. Káldy29-Jan-04 10:22
Robert A. T. Káldy29-Jan-04 10:22 
GeneralRe: status bar in mIRC.. how you do this ? Pin
ELY M.29-Jan-04 10:36
ELY M.29-Jan-04 10:36 
GeneralRe: status bar in mIRC.. how you do this ? Pin
toxcct29-Jan-04 20:07
toxcct29-Jan-04 20:07 
GeneralRe: status bar in mIRC.. how you do this ? Pin
ELY M.29-Jan-04 10:22
ELY M.29-Jan-04 10:22 
QuestionHow to set CDialog size in pixels ? Pin
vgrigor28-Jan-04 23:50
vgrigor28-Jan-04 23:50 
AnswerRe: How to set CDialog size in pixels ? Pin
Iain Clarke, Warrior Programmer29-Jan-04 6:11
Iain Clarke, Warrior Programmer29-Jan-04 6:11 
You cannot set the real size of a dialog in the resource editor. The units you see are
in Dialog Units. These are translated into real coordinates at run time by the CreateDialogXXXX
functions.

The translation depends on the font of the dialog, and various OS things (Large / Small Fonts,
accessibility settings etc).

To translate between dlg and reall units, look at ::MapDialogRect.

If you have to be pixel accurate, you need to write some code in your OnInitDialog routine.
You'll probably want the following functions...
GetClientRect, GetWindowRect, ClientToScreen, ScreenToClient, SetWindowPos, etc.

Iain.
Generalto retrieve the address line from explorer Pin
sinuommen28-Jan-04 23:47
sinuommen28-Jan-04 23:47 
GeneralRe: to retrieve the address line from explorer Pin
Mukkie29-Jan-04 11:25
Mukkie29-Jan-04 11:25 
GeneralRe: to retrieve the address line from explorer Pin
sinuommen29-Jan-04 17:02
sinuommen29-Jan-04 17:02 
GeneralRe: to retrieve the address line from explorer Pin
Mukkie30-Jan-04 23:34
Mukkie30-Jan-04 23:34 
Questiondoubt in STL - MAP??? Pin
Ilamparithi28-Jan-04 23:38
Ilamparithi28-Jan-04 23:38 
GeneralRetrieving a pointer to an item in a std::list Pin
bneacetp28-Jan-04 23:36
bneacetp28-Jan-04 23:36 
GeneralRe: Retrieving a pointer to an item in a std::list Pin
bneacetp28-Jan-04 23:57
bneacetp28-Jan-04 23:57 
GeneralGUI tools Pin
louis28-Jan-04 23:31
louis28-Jan-04 23:31 
GeneralURLDownloadToFile IBindStatusCallback And Visual Basic :-( Pin
Braulio Dez28-Jan-04 23:30
Braulio Dez28-Jan-04 23:30 
GeneralRe: URLDownloadToFile IBindStatusCallback And Visual Basic :-( Pin
Daniel Turini29-Jan-04 3:50
Daniel Turini29-Jan-04 3:50 
GeneralRe: URLDownloadToFile IBindStatusCallback And Visual Basic :-( Pin
Braulio Dez29-Jan-04 4:02
Braulio Dez29-Jan-04 4:02 
QuestionCreateDIBSection size limitation? Pin
CodeBrain28-Jan-04 23:18
CodeBrain28-Jan-04 23:18 
GeneralDisplaying 2 dialogs in the same window (URGENT) Pin
ArFuk28-Jan-04 23:18
ArFuk28-Jan-04 23:18 
GeneralRe: Displaying 2 dialogs in the same window (URGENT) Pin
sstoyan29-Jan-04 2:30
sstoyan29-Jan-04 2:30 
QuestionCan I get file path name which is created by Rresourc Editor: Pin
Morris_Pan28-Jan-04 22:56
Morris_Pan28-Jan-04 22:56 
AnswerRe: Can I get file path name which is created by Rresourc Editor: Pin
Steve S28-Jan-04 23:34
Steve S28-Jan-04 23:34 
GeneralRe: Can I get file path name which is created by Rresourc Editor: Pin
Morris_Pan29-Jan-04 3:52
Morris_Pan29-Jan-04 3:52 

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.