works fine but when typing Alt+F4, the Pane closes if floating, how to avoid this ?
Alexandre GRANVAUD
Posts
-
CDockablePane without Close button -
MFC data structuresm_saType.Serialize(ar); m_saItem.Serialize(ar); m_saPerson.Serialize(ar); Of course a better way is to declare a CObject derived class CPerson with CString members m_sType, m_sItem, m_sPerson Implementing Serialize in this class the using a CObList and calling its Serialize...
-
CStdioFile WriteString (Unicode Strings) failing?having the same problem here, someone to help ?
-
Anti-alians Metafilestill looking for a good (and fast) solution for the same problem... please someone help :)
-
Speed difference between CoCreateInstance and new operatorlol i agree for the speed ;) (but can't slowdown) i don't break the com creation mechanism : the CreateInstance in a ClassFactory does exactly the same : a new CComObject ! ;)
-
Speed difference between CoCreateInstance and new operatorspeed is always a good practice ;) having a bad practice is ok if you know you have (i do ;)) and know the consequences ;)
-
Speed difference between CoCreateInstance and new operatorwhy do you need to call it ? as i can see, the CCOmObject constructor call FinalConstruct, so what extra initialization do we need ?
-
What are the ways a COM dll can be used? + questionshopefully we gave the same results ;)
-
What are the ways a COM dll can be used? + questions- Just by knowing the component's CLSID & the interface's IDs? Use a component with the "import" directive, that takes information from the .tlb file? <-won't this require any header file? the #import creates .tli and .tlh files which are headers - Creation using ProgIDs is efficient? it must be slower because it looks at the progid in registry then at the clsid - A COM DLL doesn't mean a component. A COM dll may contain any number of components inside. (that we do by adding simple ATL object into workspace?)//Containment ,aggregation etc. yes a COM DLL can have many components inside - A CoClass is a component object. As a COM DLL can contain more components, there'll be more CoClasses accordingly. yes with ATL you have no problem, each class factory is instanciated within an OBJET MAP
-
Speed difference between CoCreateInstance and new operatoryes you can in the same DLL, i do it everyday : in inprocess it's ok to do so ;) new CComObject < CThing > then doing a Queryinterface or a AddRef on it and your object is ok
-
Speed difference between CoCreateInstance and new operatorcalling new CComObject < CThing > calls CoCoreateInstance???? i'm sure it doesnt !!
-
Speed difference between CoCreateInstance and new operatorHi guys, I have COM DLL Servers creating a lot of COM objects with CoCreateInstance and it's quite slow. I wondered if replacing the CoCreateInstance(CLSID_Foo) by a new CComObject < CFoo > would speed up things ? Or to be clearer, how slower is CoCreateInstance compared to new operator ? thanks !
-
Drawing WMF/EMF antialiasedup ^^
-
Job Offer for French peopleHi, my company is looking for another employee : We need a C++/MFC/COM/ATL Engineer as soon as possible. The Job is located in France, so you must speak French ! Please contact me during office period on GMT+1 : +33 5 55 04 20 37 Just ask for Alexandre ;) Thanks
-
Drawing WMF/EMF antialiasedHi, i'm trying to draw EMF or WMF files in an antialiased way. I tried GDI+, AA drawing is ok when using DrawLine or other primitives but the DrawImage doesnt produce AA output when beeing passed a Metafile object containing a WMF or EMF :( So is there a way to draw EMF/WMF files with antialias ? (with or without gdi+) Maybe something exists in order to convert EMF/WMF to EMF+ ? (it seems gdi+ can only AA on EMF+ files) thanks for your help
-
Drawing WMF/EMF antialiasedHi, i'm trying to draw EMF or WMF files in an antialiased way. I tried GDI+, AA drawing is ok when using DrawLine or other primitives but the DrawImage doesnt produce AA output when beeing passed a Metafile object containing a WMF or EMF :( So is there a way to draw EMF/WMF files with antialias ? (with or without gdi+) Maybe something exists in order to convert EMF/WMF to EMF+ ? (it seems gdi+ can only AA on EMF+ files) thanks for your help
-
How to be informed/notified of registry modificationsis there another way to extract .reg files from commandline ?
-
Registry notificationyes but i need to know which subkeys are created in a large tree
-
How to be informed/notified of registry modificationsoh it can interest me too ;) i'd like a commandline export feature from regedit, does it exist ?
-
How to be informed/notified of registry modificationsno it saves a .dat file which is (i verified it with notepad) a binary file not a text file : a proprietary fileformat