I'm pretty green at C#, and what I'm trying to do is what is described in C++, my native language, is sending and retriving data from a modeless box. What I have is a main dialog box/form that calls another dialog box/form, and I can't seem to location the method of getting data from the main form to the newly called form. If someone could point me to a simple app that uses this function or just describe what I'm looking for in the parent call, that would be great. Thanks J Guds Masters Student Kansas University
J Guds
Posts
-
Getting Data From Calling Form -
HTML Dialog HelpI'm using a HTML dialog and I want to be able to hit one button, HTML or regular, and have it call C++ code and open a web site in the dialog box. I can currently make a HTML button either call the website or run the C++ code. I think that I would rather have a regular dialog button, so it doesn't dissappear when the website is pulled up. Any help with the call to open a web site with VC++.net code would be great. I'm running Visual Studio.net Pro. J Guds Masters Student Kansas University
-
Filtering OnFileOpenIn a SDI program, when the user clicked the Open File Button and the standard File Open Dialog pops up I want to filter what type of file extensions the user can select. J Guds Masters Student Kansas University
-
Using SetFont and Trying to Display PI(the symbol)I'm trying to display the PI symbol on certain static text variables in a Dialog box. I know I can set all the text in the dialog box to the symbol font but is there a way using SetFont in the OnInitDialog() function to allow me to change the only certain ones to the symbol PI? Also how would I put a subscript/superscript on a static text? Would this be done using some sort of RichEdit? Any help would be nice. J Guds Masters Student Kansas University
-
Updating View from WinThreadI'm developing a VC++ SDI program that needs to have a couple threads running. The main thread starts by pressing a button in the toolbar which is processed in the Document. This thread reads from a data file once a second, this data is stored as variables in the Document, after this data is read and stored I need to update the View, however I have not been successful at having the View update with out crashing the program. I have the program setup as a SDI and have added a CWinThread Class. I have been successfull at reading the data with the class but just not updating the View. Any help with this problem would be great. J Guds Masters Student Kansas University