Click here to Skip to main content
15,910,471 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to use CString variable in regular DLL Pin
Eugene Pustovoyt21-Jul-03 19:01
Eugene Pustovoyt21-Jul-03 19:01 
AnswerRe: How to use CString variable in regular DLL Pin
Toni7821-Jul-03 19:35
Toni7821-Jul-03 19:35 
GeneralRe: How to use CString variable in regular DLL Pin
Eugene Pustovoyt21-Jul-03 19:56
Eugene Pustovoyt21-Jul-03 19:56 
GeneralRe: How to use CString variable in regular DLL Pin
Toni7821-Jul-03 20:09
Toni7821-Jul-03 20:09 
GeneralTranfer double data between dialogs Pin
spaced_out21-Jul-03 17:58
spaced_out21-Jul-03 17:58 
GeneralRe: Tranfer double data between dialogs Pin
Eugene Pustovoyt21-Jul-03 19:07
Eugene Pustovoyt21-Jul-03 19:07 
GeneralRe: Tranfer double data between dialogs Pin
melwyn21-Jul-03 22:05
melwyn21-Jul-03 22:05 
GeneralRe: Tranfer double data between dialogs Pin
Bob Stanneveld22-Jul-03 3:01
Bob Stanneveld22-Jul-03 3:01 
Do you need to transfer the value or the variable?

if you want to transfer the value, a simple solution can be:
<br />
double GetYourDoubleVar() {return m_dYourdoubleVar;}<br />


if you want to transfer the variable and that only one dialog can use is do:
<br />
BOOL GetYourDoubleVar(double* d)<br />
{<br />
    if(m_pdYourDouble == NULL)<br />
        return FALSE;<br />
    // else<br />
    d = m_pdYourDouble;<br />
    m_pdYourDouble = NULL; // remode this line if you want both dialogs to access the double<br />
    return TRUE;<br />
}<br />


hope this helps Smile | :)




A student knows little about a lot.
A professor knows a lot about little.
I know everything about nothing.



GeneralRe: Tranfer double data between dialogs Pin
spaced_out22-Jul-03 5:07
spaced_out22-Jul-03 5:07 
GeneralProblem Solved!! Pin
spaced_out22-Jul-03 18:24
spaced_out22-Jul-03 18:24 
Generaloutput "%" to Text Pin
wow999921-Jul-03 17:20
wow999921-Jul-03 17:20 
GeneralRe: output "%" to Text Pin
John M. Drescher21-Jul-03 17:30
John M. Drescher21-Jul-03 17:30 
GeneralRe: output &quot;%&quot; to Text Pin
Ryan Binns21-Jul-03 18:00
Ryan Binns21-Jul-03 18:00 
GeneralRe: output &quot;%&quot; to Text Pin
John M. Drescher21-Jul-03 18:04
John M. Drescher21-Jul-03 18:04 
GeneralRe: output &quot;%&quot; to Text Pin
Ryan Binns21-Jul-03 18:07
Ryan Binns21-Jul-03 18:07 
GeneralMoving a file on network via Wininet FTP Pin
TigerNinja_21-Jul-03 14:16
TigerNinja_21-Jul-03 14:16 
GeneralRe: Moving a file on network via Wininet FTP Pin
Ryan Binns21-Jul-03 15:02
Ryan Binns21-Jul-03 15:02 
GeneralRe: Moving a file on network via Wininet FTP Pin
J. Dunlap21-Jul-03 16:33
J. Dunlap21-Jul-03 16:33 
GeneralRe: Moving a file on network via Wininet FTP Pin
Ryan Binns21-Jul-03 16:36
Ryan Binns21-Jul-03 16:36 
GeneralRe: Moving a file on network via Wininet FTP Pin
Heath Stewart21-Jul-03 17:47
protectorHeath Stewart21-Jul-03 17:47 
GeneralRe: Moving a file on network via Wininet FTP Pin
Ryan Binns21-Jul-03 17:58
Ryan Binns21-Jul-03 17:58 
GeneralRe: Moving a file on network via Wininet FTP Pin
TigerNinja_22-Jul-03 7:17
TigerNinja_22-Jul-03 7:17 
Generalhandling a listbox's LButtonUp in parent-dialog Pin
Led21-Jul-03 13:04
Led21-Jul-03 13:04 
GeneralRe: handling a listbox's LButtonUp in parent-dialog Pin
valikac21-Jul-03 19:35
valikac21-Jul-03 19:35 
GeneralRe: handling a listbox's LButtonUp in parent-dialog Pin
Led21-Jul-03 21:33
Led21-Jul-03 21:33 

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.