Click here to Skip to main content
15,922,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOpening Read-Only Access Files in Code Pin
John Clump28-Nov-01 14:42
John Clump28-Nov-01 14:42 
GeneralRe: Opening Read-Only Access Files in Code Pin
Nish Nishant28-Nov-01 16:23
sitebuilderNish Nishant28-Nov-01 16:23 
GeneralRe: Opening Read-Only Access Files in Code Pin
Mike Nordell28-Nov-01 17:10
Mike Nordell28-Nov-01 17:10 
GeneralRe: Opening Read-Only Access Files in Code Pin
29-Nov-01 8:56
suss29-Nov-01 8:56 
QuestionDialog bar with WTL ? Pin
28-Nov-01 14:32
suss28-Nov-01 14:32 
GeneralUsing #pragma for byte-alignment Pin
john john mackey28-Nov-01 12:54
john john mackey28-Nov-01 12:54 
GeneralRe: Using #pragma for byte-alignment Pin
Todd Smith28-Nov-01 13:24
Todd Smith28-Nov-01 13:24 
GeneralCDialog Pin
Stanislav28-Nov-01 12:43
Stanislav28-Nov-01 12:43 
hi,
i made a modal dialog, and i called him
in
void CBankView::OnFileConnect()
{
// TODO: Add your command handler code here
ConectDialog dlg;
dlg.m_strHost="127.0.0.1";
dlg.m_uintPort=6699;
dlg.m_strServerName="MYSQLSERVER";
dlg.m_strUser="username";

int ret=dlg.DoModal(this);
...

then when the user click on OK, i predefined
the onOK function and then i want to call my CBankView->Connect()
function, but i don't know how to get pointer to my
CBankView ot my CBankDoc objects Smile | :)

pls help me.

GeneralRe: CDialog Pin
Nish Nishant28-Nov-01 14:49
sitebuilderNish Nishant28-Nov-01 14:49 
GeneralRe: Many ways to do this! Pin
Masaaki Onishi28-Nov-01 15:19
Masaaki Onishi28-Nov-01 15:19 
GeneralRe: CDialog Pin
Stanislav29-Nov-01 7:06
Stanislav29-Nov-01 7:06 
GeneralActiveX & Threads...gettin' Funky - Check this Out. Pin
Tim Rymer28-Nov-01 11:10
Tim Rymer28-Nov-01 11:10 
GeneralIs this is a valid Pin
28-Nov-01 10:55
suss28-Nov-01 10:55 
GeneralRe: Is this is a valid Pin
Michael Dunn28-Nov-01 13:56
sitebuilderMichael Dunn28-Nov-01 13:56 
GeneralRe: Is this is a valid Pin
Mike Nordell28-Nov-01 17:25
Mike Nordell28-Nov-01 17:25 
GeneralCustom Draw Pin
RobJones28-Nov-01 10:39
RobJones28-Nov-01 10:39 
GeneralRe: Custom Draw Pin
Wolfram Steinke28-Nov-01 10:53
Wolfram Steinke28-Nov-01 10:53 
GeneralRe: Custom Draw Pin
RobJones28-Nov-01 10:57
RobJones28-Nov-01 10:57 
GeneralRe: Custom Draw Pin
Michael Dunn28-Nov-01 13:58
sitebuilderMichael Dunn28-Nov-01 13:58 
QuestionAvoid flickering in list control? Pin
User 665828-Nov-01 9:16
User 665828-Nov-01 9:16 
AnswerRe: Avoid flickering in list control? Pin
Michael Dunn28-Nov-01 9:56
sitebuilderMichael Dunn28-Nov-01 9:56 
QuestionAre there faster accessing arrays than vectors? Pin
Chambers28-Nov-01 9:00
Chambers28-Nov-01 9:00 
AnswerRe: Are there faster accessing arrays than vectors? Pin
Christian Graus28-Nov-01 12:32
protectorChristian Graus28-Nov-01 12:32 
AnswerRe: Are there faster accessing arrays than vectors? Pin
Todd Smith28-Nov-01 14:44
Todd Smith28-Nov-01 14:44 
AnswerRe: Are there faster accessing arrays than vectors? Pin
Chambers29-Nov-01 8:50
Chambers29-Nov-01 8:50 

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.