Click here to Skip to main content
15,912,021 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCView type in a dialog...whats the problem Pin
22-Mar-02 4:59
suss22-Mar-02 4:59 
GeneralRe: CView type in a dialog...whats the problem Pin
Nish Nishant22-Mar-02 5:29
sitebuilderNish Nishant22-Mar-02 5:29 
GeneralRe: CView type in a dialog...whats the problem Pin
22-Mar-02 5:31
suss22-Mar-02 5:31 
GeneralRe: CView type in a dialog...whats the problem Pin
Nish Nishant22-Mar-02 5:54
sitebuilderNish Nishant22-Mar-02 5:54 
GeneralRe: CView type in a dialog...whats the problem Pin
Ravi Bhavnani22-Mar-02 9:40
professionalRavi Bhavnani22-Mar-02 9:40 
GeneralRe: CView type in a dialog...whats the problem Pin
23-Mar-02 2:22
suss23-Mar-02 2:22 
GeneralOCX Control Question Pin
Douglas Troy22-Mar-02 5:00
Douglas Troy22-Mar-02 5:00 
GeneralRe: OCX Control Question Pin
Douglas Troy22-Mar-02 5:19
Douglas Troy22-Mar-02 5:19 
HA! Answered my own question, but I'll post the solution incase anyone else has this same problem (if there's a better way, PLEASE let me know).

// Set Init Variant Type as follows
COleVariant myVar(VARIANT_BOOL(TRUE));

// change to 2-byte bool type
myVar.ChangeType( VT_BOOL, NULL );

// call OCX
TheOcxCtrl->Save( myVar );

This works just fine! Big Grin | :-D


D.

GeneralGenerating HTML Pin
Wizard_0122-Mar-02 4:45
Wizard_0122-Mar-02 4:45 
Generalradio buttons Pin
22-Mar-02 4:43
suss22-Mar-02 4:43 
GeneralRe: radio buttons Pin
Nish Nishant22-Mar-02 6:06
sitebuilderNish Nishant22-Mar-02 6:06 
GeneralUpdateData(false) Pin
22-Mar-02 4:11
suss22-Mar-02 4:11 
GeneralRe: UpdateData(false) Pin
Andres Manggini22-Mar-02 4:23
Andres Manggini22-Mar-02 4:23 
GeneralRe: UpdateData(false) Pin
Nish Nishant22-Mar-02 5:47
sitebuilderNish Nishant22-Mar-02 5:47 
QuestionThe enter key? Pin
22-Mar-02 4:08
suss22-Mar-02 4:08 
AnswerRe: The enter key? Pin
Michael Dunn22-Mar-02 4:51
sitebuilderMichael Dunn22-Mar-02 4:51 
AnswerRe: The enter key? Pin
22-Mar-02 4:46
suss22-Mar-02 4:46 
AnswerRe: The enter key? Pin
lucy22-Mar-02 4:55
lucy22-Mar-02 4:55 
AnswerRe: The enter key? Pin
Nish Nishant22-Mar-02 5:36
sitebuilderNish Nishant22-Mar-02 5:36 
AnswerRe: The enter key? Pin
Mazdak22-Mar-02 5:35
Mazdak22-Mar-02 5:35 
GeneralRe: The enter key? Pin
Andres Manggini22-Mar-02 7:04
Andres Manggini22-Mar-02 7:04 
GeneralRe: The enter key? Pin
Mazdak22-Mar-02 8:13
Mazdak22-Mar-02 8:13 
GeneralDialog box with Radio buttons and Edit boxes Pin
joeperris22-Mar-02 3:45
joeperris22-Mar-02 3:45 
GeneralRe: Dialog box with Radio buttons and Edit boxes Pin
Andres Manggini22-Mar-02 4:05
Andres Manggini22-Mar-02 4:05 
GeneralRe: Dialog box with Radio buttons and Edit boxes Pin
joeperris22-Mar-02 5:56
joeperris22-Mar-02 5:56 

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.