Click here to Skip to main content
15,892,746 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: size difference between dialog and view Pin
l a u r e n29-Nov-02 5:57
l a u r e n29-Nov-02 5:57 
GeneralRe: size difference between dialog and view Pin
Hel2-Dec-02 0:21
Hel2-Dec-02 0:21 
GeneralRe: size difference between dialog and view Pin
l a u r e n2-Dec-02 4:24
l a u r e n2-Dec-02 4:24 
GeneralRe: size difference between dialog and view Pin
Hel2-Dec-02 4:40
Hel2-Dec-02 4:40 
GeneralRe: size difference between dialog and view Pin
l a u r e n2-Dec-02 4:48
l a u r e n2-Dec-02 4:48 
GeneralRe: size difference between dialog and view Pin
Phil J Pearson29-Nov-02 6:49
Phil J Pearson29-Nov-02 6:49 
GeneralRe: size difference between dialog and view Pin
Hel2-Dec-02 0:18
Hel2-Dec-02 0:18 
Generalproblem with variant Pin
Chanda.com29-Nov-02 0:10
Chanda.com29-Nov-02 0:10 
hello i want to use following function.

SaveAs(LPCTSTR Image, const VARIANT& FileType, const VARIANT& PageType, const VARIANT& CompressionType, const VARIANT& CompressionInfo, const VARIANT& SaveAtZoom)

so i wrote following code.but it is not working could u tell me what is going wrong in it?

CImgEdit m_edit;
VARIANT v,ft,pt,ct,ci;

ft.vt=VT_INT;
pt.vt=VT_INT;
ct.vt=VT_INT;
ci.vt=VT_INT;
v.vt=VT_BOOL;

ft.intVal=6;
pt.intVal=2;
ct.intVal=6;
ci.intVal=1024;
v.boolVal=true;
m_edit.SaveAs("c:\\chan.jpg",ft,pt,ct,ci,v);

thanx in advance
GeneralRe: problem with variant Pin
dabs29-Nov-02 1:13
dabs29-Nov-02 1:13 
GeneralRe: problem with variant Pin
Chanda.com29-Nov-02 1:34
Chanda.com29-Nov-02 1:34 
GeneralRe: problem with variant Pin
dabs29-Nov-02 2:03
dabs29-Nov-02 2:03 
GeneralRe: problem with variant Pin
Chanda.com29-Nov-02 2:27
Chanda.com29-Nov-02 2:27 
GeneralRe: problem with variant Pin
dabs29-Nov-02 5:28
dabs29-Nov-02 5:28 
GeneralClick button on dialog box to open window. Pin
ooosawaddee328-Nov-02 23:18
ooosawaddee328-Nov-02 23:18 
GeneralRe: Click button on dialog box to open window. Pin
RicoH29-Nov-02 1:08
RicoH29-Nov-02 1:08 
GeneralEventViewer MMC Snap-in Pin
draman28-Nov-02 23:13
draman28-Nov-02 23:13 
GeneralAdding user-defined keywords Pin
RicoH28-Nov-02 22:32
RicoH28-Nov-02 22:32 
GeneralRe: Adding user-defined keywords Pin
Iain Clarke, Warrior Programmer28-Nov-02 22:52
Iain Clarke, Warrior Programmer28-Nov-02 22:52 
GeneralRe: Adding user-defined keywords Pin
RicoH29-Nov-02 0:58
RicoH29-Nov-02 0:58 
GeneralOwner draw controls and CDialogBars Pin
Mirko M.28-Nov-02 20:48
sussMirko M.28-Nov-02 20:48 
Questionwhat's the equivalent of LoadIcon for text file? Pin
devvvy28-Nov-02 18:51
devvvy28-Nov-02 18:51 
AnswerRe: what's the equivalent of LoadIcon for text file? Pin
berndg28-Nov-02 19:53
berndg28-Nov-02 19:53 
GeneralRe: what's the equivalent of LoadIcon for text file? Pin
devvvy29-Nov-02 17:16
devvvy29-Nov-02 17:16 
QuestionWhere can I find guides on VSS? Pin
George228-Nov-02 18:50
George228-Nov-02 18:50 
AnswerRe: Where can I find guides on VSS? Pin
Ravi Bhavnani29-Nov-02 12:10
professionalRavi Bhavnani29-Nov-02 12:10 

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.