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

C / C++ / MFC

 
GeneralSaving data in a Dialog App Pin
Stumped on Serialization26-Aug-02 19:29
sussStumped on Serialization26-Aug-02 19:29 
GeneralRe: Saving data in a Dialog App Pin
Chris Losinger26-Aug-02 19:55
professionalChris Losinger26-Aug-02 19:55 
GeneralRe: Saving data in a Dialog App Pin
Thanks chris for answering26-Aug-02 20:02
sussThanks chris for answering26-Aug-02 20:02 
GeneralRe: Saving data in a Dialog App Pin
Chris Losinger26-Aug-02 20:08
professionalChris Losinger26-Aug-02 20:08 
GeneralRe: Saving data in a Dialog App Pin
Ravi Bhavnani27-Aug-02 5:48
professionalRavi Bhavnani27-Aug-02 5:48 
GeneralSession id of a process Pin
adara26-Aug-02 19:23
adara26-Aug-02 19:23 
Generallogical unit and physical unit Pin
vuong hoai nam26-Aug-02 16:32
vuong hoai nam26-Aug-02 16:32 
GeneralRe: logical unit and physical unit Pin
Steen Krogsgaard26-Aug-02 21:11
Steen Krogsgaard26-Aug-02 21:11 
The device points are determined by the physical size and resolution of the display device (which can be the monitor or the printer, for instance). The logical points are measured in the scaled units you define yourself by means of the mapping mode and calls to SetWindowExt/SetViewportExt (and related functions, se MSDN).

Do not confuse with client/screen coordinates: Client coordinates are relative to the client area of your window, screen coordinates are relative to the screen (and not your window).

In your example, LPtoDP will yield the same result until you change the mapping mode or the scaling.

Cheers
Steen.

"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
Generalwm_activateapp Pin
vuong hoai nam26-Aug-02 16:21
vuong hoai nam26-Aug-02 16:21 
GeneralOnKillFusus events Pin
Ancient Dragon26-Aug-02 16:16
Ancient Dragon26-Aug-02 16:16 
GeneralRe: OnKillFusus events Pin
Tomasz Sowinski26-Aug-02 22:53
Tomasz Sowinski26-Aug-02 22:53 
QuestionHow to sort file name exactly like Windows Explorer? Pin
Hiusing26-Aug-02 16:05
Hiusing26-Aug-02 16:05 
GeneralMessage Handling for a dialog in a dll Pin
leonwoo26-Aug-02 15:05
leonwoo26-Aug-02 15:05 
GeneralRe: Message Handling for a dialog in a dll Pin
valikac26-Aug-02 15:10
valikac26-Aug-02 15:10 
GeneralRe: Message Handling for a dialog in a dll Pin
leonwoo26-Aug-02 15:25
leonwoo26-Aug-02 15:25 
GeneralRe: Message Handling for a dialog in a dll Pin
Steen Krogsgaard26-Aug-02 21:24
Steen Krogsgaard26-Aug-02 21:24 
Generalusing Appwizard with the "Windows Explorer" style Pin
Tonrar26-Aug-02 12:30
Tonrar26-Aug-02 12:30 
GeneralRe: using Appwizard with the "Windows Explorer" style Pin
Blade[DMS]27-Aug-02 0:31
Blade[DMS]27-Aug-02 0:31 
GeneralLVN_COLUMNCLICK Pin
RK_200026-Aug-02 12:19
RK_200026-Aug-02 12:19 
GeneralRe: LVN_COLUMNCLICK Pin
Tomasz Sowinski26-Aug-02 22:55
Tomasz Sowinski26-Aug-02 22:55 
GeneralQuestion on VS.NET and VS6.0 Compatibility Pin
theorion1626-Aug-02 11:54
susstheorion1626-Aug-02 11:54 
GeneralRe: Question on VS.NET and VS6.0 Compatibility Pin
Chris Losinger26-Aug-02 12:17
professionalChris Losinger26-Aug-02 12:17 
GeneralRe: Question on VS.NET and VS6.0 Compatibility Pin
RichardEastes26-Aug-02 14:43
RichardEastes26-Aug-02 14:43 
GeneralRe: Question on VS.NET and VS6.0 Compatibility Pin
Chris Losinger26-Aug-02 16:19
professionalChris Losinger26-Aug-02 16:19 
Generalwindows queue viewer Pin
Jerry Gao26-Aug-02 11:43
Jerry Gao26-Aug-02 11:43 

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.