Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Simple DLL help needed. (very basic) Pin
Loosehead Len13-Jul-04 20:44
Loosehead Len13-Jul-04 20:44 
GeneralRe: Simple DLL help needed. (very basic) Pin
mystro_AKA_kokie13-Jul-04 19:15
mystro_AKA_kokie13-Jul-04 19:15 
GeneralRe: Simple DLL help needed. (very basic) Pin
Loosehead Len13-Jul-04 20:45
Loosehead Len13-Jul-04 20:45 
GeneralRe: Simple DLL help needed. (very basic) Pin
mystro_AKA_kokie14-Jul-04 0:50
mystro_AKA_kokie14-Jul-04 0:50 
GeneralFont heights Pin
0v3rloader13-Jul-04 17:16
0v3rloader13-Jul-04 17:16 
GeneralRe: Font heights Pin
Johan Rosengren13-Jul-04 20:00
Johan Rosengren13-Jul-04 20:00 
GeneralRe: Font heights Pin
0v3rloader13-Jul-04 20:37
0v3rloader13-Jul-04 20:37 
GeneralRe: Font heights Pin
Johan Rosengren13-Jul-04 20:47
Johan Rosengren13-Jul-04 20:47 
Well there is. You get the client CDC, call GetDeviceCaps(LOGPIXELSY) to get the vertical resolution per inch of the output CDC. After this, you divide the result with 72, and gets the height in pixels for a typographical point (you'd obviously have to use double values to do this). Finally, you divide the height of your control with the number of pixels-per-typographical-points calculated, and you're home.

Far easier to just use the height from the beginning Smile | :)
GeneralRe: Font heights Pin
0v3rloader13-Jul-04 21:27
0v3rloader13-Jul-04 21:27 
Generalabout MPEG4. Pin
Grrrr13-Jul-04 16:37
Grrrr13-Jul-04 16:37 
Generalgethostbyname() in win32 Pin
edosdonkey13-Jul-04 15:45
edosdonkey13-Jul-04 15:45 
GeneralAn MFC project Pin
sagsag13-Jul-04 13:41
sagsag13-Jul-04 13:41 
GeneralRe: An MFC project Pin
mystro_AKA_kokie13-Jul-04 19:20
mystro_AKA_kokie13-Jul-04 19:20 
Generalfree GMail account to first person who can give working solution Pin
JeromeKJerome13-Jul-04 11:26
JeromeKJerome13-Jul-04 11:26 
GeneralRe: free GMail account to first person who can give working solution Pin
Antti Keskinen13-Jul-04 11:47
Antti Keskinen13-Jul-04 11:47 
GeneralRe: free GMail account to first person who can give working solution Pin
JeromeKJerome13-Jul-04 14:14
JeromeKJerome13-Jul-04 14:14 
GeneralRe: free GMail account to first person who can give working solution Pin
naveen_vi13-Jul-04 11:50
naveen_vi13-Jul-04 11:50 
GeneralRe: free GMail account to first person who can give working solution Pin
JeromeKJerome13-Jul-04 14:15
JeromeKJerome13-Jul-04 14:15 
GeneralRe: free GMail account to first person who can give working solution Pin
naveen_vi13-Jul-04 11:53
naveen_vi13-Jul-04 11:53 
GeneralRe: free GMail account to first person who can give working solution Pin
Ryan Binns13-Jul-04 18:17
Ryan Binns13-Jul-04 18:17 
GeneralRe: free GMail account to first person who can give working solution Pin
JeromeKJerome14-Jul-04 15:42
JeromeKJerome14-Jul-04 15:42 
GeneralRe: free GMail account to first person who can give working solution Pin
ThatsAlok13-Jul-04 20:21
ThatsAlok13-Jul-04 20:21 
GeneralRe: free GMail account to first person who can give working solution Pin
JeromeKJerome14-Jul-04 15:36
JeromeKJerome14-Jul-04 15:36 
GeneralRe: free GMail account to first person who can give working solution Pin
ThatsAlok14-Jul-04 21:15
ThatsAlok14-Jul-04 21:15 
QuestionWhat is WINAPI macro??? Pin
naveen_vi13-Jul-04 10:54
naveen_vi13-Jul-04 10:54 

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.