Click here to Skip to main content
15,917,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalheight of the header of window Pin
novachen3-Nov-03 16:01
novachen3-Nov-03 16:01 
GeneralRe: height of the header of window Pin
souldog3-Nov-03 18:37
souldog3-Nov-03 18:37 
GeneralRe: height of the header of window Pin
Michael Dunn3-Nov-03 19:14
sitebuilderMichael Dunn3-Nov-03 19:14 
Questiondoes control have contextmenu? Pin
chriss_rook3-Nov-03 13:52
chriss_rook3-Nov-03 13:52 
AnswerRe: does control have contextmenu? Pin
cmk3-Nov-03 23:20
cmk3-Nov-03 23:20 
QuestionHow to Duplicate a Printer Pin
Paul Farry3-Nov-03 13:46
professionalPaul Farry3-Nov-03 13:46 
QuestionHow can my window under any other application window? Pin
golden06063-Nov-03 13:32
golden06063-Nov-03 13:32 
QuestionHow do you use MM_ISOTROPIC mode with a CScrollView? Pin
cdsmith3-Nov-03 11:56
cdsmith3-Nov-03 11:56 
I am trying to use the MM_ISOTROPIC mapping mode with a CScrollView. I keep getting the "Error: must call SetScrollSizes() or SetScaleToFitSize() before painting scroll view." message. To work around this I put a call to SetScrollSizes in my OnInitialUpdate() method. With this call I set the mapping mode to MM_TEXT and size to 100 x 100. I reset the mapping mode in OnPrepareDC to MM_ISOTROPIC and use the SetWindowExtent and SetViewportExt to get the right part of the document to show. This prevents the error but does not show any scroll bars?

Does any body use MM_ISOTROPIC with a CScrollView or know of a demo/sample that does this.

Thanks for any help!


AnswerRe: How do you use MM_ISOTROPIC mode with a CScrollView? Pin
souldog3-Nov-03 18:42
souldog3-Nov-03 18:42 
GeneralXP and Single Instance; Pin
Bo Hunter3-Nov-03 11:54
Bo Hunter3-Nov-03 11:54 
GeneralRe: XP and Single Instance; Pin
Anthony_Yio3-Nov-03 19:24
Anthony_Yio3-Nov-03 19:24 
QuestionMaximum Ethernet Cards and IPs per Card? Pin
dafunkt3-Nov-03 8:54
dafunkt3-Nov-03 8:54 
AnswerRe: Maximum Ethernet Cards and IPs per Card? Pin
Jeryth3-Nov-03 10:27
Jeryth3-Nov-03 10:27 
GeneralRe: Maximum Ethernet Cards and IPs per Card? Pin
dafunkt3-Nov-03 10:32
dafunkt3-Nov-03 10:32 
GeneralProbelm when window close Pin
Shay Harel3-Nov-03 7:58
Shay Harel3-Nov-03 7:58 
GeneralRe: Probelm when window close Pin
Anthony_Yio3-Nov-03 20:35
Anthony_Yio3-Nov-03 20:35 
GeneralDirectX stipple lines Pin
mikeh3-Nov-03 7:52
mikeh3-Nov-03 7:52 
GeneralRe: DirectX stipple lines Pin
Jeryth3-Nov-03 10:25
Jeryth3-Nov-03 10:25 
GeneralRe: DirectX stipple lines Pin
mikeh3-Nov-03 10:54
mikeh3-Nov-03 10:54 
GeneralRe: DirectX stipple lines Pin
Jeryth3-Nov-03 11:54
Jeryth3-Nov-03 11:54 
GeneralRe: DirectX stipple lines Pin
Jeryth3-Nov-03 14:32
Jeryth3-Nov-03 14:32 
GeneralRe: DirectX stipple lines Pin
ZoogieZork3-Nov-03 18:18
ZoogieZork3-Nov-03 18:18 
GeneralRe: DirectX stipple lines Pin
mikeh4-Nov-03 3:05
mikeh4-Nov-03 3:05 
GeneralRe: DirectX stipple lines Pin
mikeh6-Nov-03 2:18
mikeh6-Nov-03 2:18 
GeneralGetFolderFromID() from Namespace Pin
chz171065xy3-Nov-03 7:27
chz171065xy3-Nov-03 7:27 

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.