Click here to Skip to main content
16,008,010 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: XML and ATL Pin
Christian Graus27-Nov-02 20:56
protectorChristian Graus27-Nov-02 20:56 
GeneralRe: XML and ATL Pin
Lizp5-Dec-02 17:38
Lizp5-Dec-02 17:38 
GeneralRe: XML and ATL Pin
geo_m5-Dec-02 1:23
geo_m5-Dec-02 1:23 
QuestionHow to print an ATL 3.0 based Active X Pin
Peter Mares26-Nov-02 7:36
Peter Mares26-Nov-02 7:36 
AnswerRe: How to print an ATL 3.0 based Active X Pin
bojinyu26-Nov-02 14:51
bojinyu26-Nov-02 14:51 
GeneralRe: How to print an ATL 3.0 based Active X Pin
Peter Mares26-Nov-02 21:36
Peter Mares26-Nov-02 21:36 
GeneralRe: How to print an ATL 3.0 based Active X Pin
bojinyu27-Nov-02 2:31
bojinyu27-Nov-02 2:31 
GeneralRe: How to print an ATL 3.0 based Active X Pin
Peter Mares27-Nov-02 3:00
Peter Mares27-Nov-02 3:00 
What I can suggest is this. The GM_ADVANCED flag is not supported in anything below Windows 2000, so first, get your OnDraw() function to check if you're drawing to an old style metaDC. You can do this like this :

bool bMetaDC = false;

if ( GetObjectType(hdc) == OBJ_METADC )
bMetaDC = true;

Now that you know that you're rendering to an old metaDC, create another DC, do all your drawing to that and then BitBlt() to your metaDC. I don't know if it will work, but its worth a try...

-------------------------------------------
99 little bugs in the code, 99 little bugs,
Fix 1 bug, recompile....
101 little bugs in the code...
QuestionHow do you clean out your registry.... Pin
Member 9625-Nov-02 20:18
Member 9625-Nov-02 20:18 
AnswerRe: How do you clean out your registry.... Pin
Michael Dunn25-Nov-02 20:35
sitebuilderMichael Dunn25-Nov-02 20:35 
QuestionHow to resolve "arning MIDL2039" Pin
TianYang25-Nov-02 18:05
TianYang25-Nov-02 18:05 
AnswerRe: How to resolve "arning MIDL2039" Pin
bojinyu26-Nov-02 14:59
bojinyu26-Nov-02 14:59 
GeneralMap and Functor :: STL Pin
valikac25-Nov-02 17:39
valikac25-Nov-02 17:39 
GeneralRe: Map and Functor :: STL Pin
Christian Graus25-Nov-02 18:09
protectorChristian Graus25-Nov-02 18:09 
GeneralRe: Map and Functor :: STL Pin
valikac25-Nov-02 18:37
valikac25-Nov-02 18:37 
GeneralRe: Map and Functor :: STL Pin
Christian Graus25-Nov-02 18:39
protectorChristian Graus25-Nov-02 18:39 
GeneralRe: Map and Functor :: STL Pin
valikac25-Nov-02 18:42
valikac25-Nov-02 18:42 
GeneralRe: Map and Functor :: STL Pin
Christian Graus25-Nov-02 19:30
protectorChristian Graus25-Nov-02 19:30 
GeneralRe: Map and Functor :: STL Pin
Joaquín M López Muñoz25-Nov-02 20:26
Joaquín M López Muñoz25-Nov-02 20:26 
GeneralOT: What's with the base class? Pin
Michael Dunn25-Nov-02 20:33
sitebuilderMichael Dunn25-Nov-02 20:33 
GeneralRe: OT: What's with the base class? Pin
Joaquín M López Muñoz25-Nov-02 20:47
Joaquín M López Muñoz25-Nov-02 20:47 
GeneralRe: OT: What's with the base class? Pin
Michael Dunn25-Nov-02 20:59
sitebuilderMichael Dunn25-Nov-02 20:59 
GeneralRe: OT: What's with the base class? Pin
Joaquín M López Muñoz25-Nov-02 21:15
Joaquín M López Muñoz25-Nov-02 21:15 
GeneralRe: OT: What's with the base class? Pin
Tim Smith26-Nov-02 8:05
Tim Smith26-Nov-02 8:05 
GeneralRe: Map and Functor :: STL Pin
valikac26-Nov-02 4:27
valikac26-Nov-02 4: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.