Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BobbyB

    Notes Products

    Thanks Francois, that was exactly what I was looking for.
  2. BobbyB

    Notes Products

    We are presently looking to pass some of our applications to Lotus Notes and we are looking at some of the best development products for the system... Please feel free to give any information on the subject.
  3. BobbyB

    Compile problem

    When I use this command in DOS... javac -g -sourcepath Sources/*.java -classpath Class -d Class -deprecation -verbose One of the file in my directory is not load... and don't compile, making the other sources crash. here's how my files are set... ->app -> Class -> Sources Seems strange...
  4. BobbyB

    changing working dir question

    _getcwd _chdir these functions found in <direct.h> could help you... hope this help
  5. BobbyB

    Redraw a dialog box

    Thanks
  6. BobbyB

    Redraw a dialog box

    I create a modeless dialog box this way... g_DlgRequest = new DlgItemFound; g_DlgRequest->Create(DlgItemFound::IDD); g_DlgRequest->ShowWindow(SW_SHOW); ... and then a big process is launched... for(...){ //... } The window appear but don't display its controls because of the big process...
  7. BobbyB

    Mutex

    I've finally found what I was looking for... RunModalLoop() makes an already open window modal... EndModalLoop(0) makes this same window not modal... maybe it'll help someone
  8. BobbyB

    Newbie: How to read/parse lines from a file

    here's a function I have done... // you call the function like this ifstream in; if (seekFile(in, &quot;MYWORD&quot;)){ ... in is positionned at the caracter folowing &quot;MYWORD&quot; } else{ ... wasn't found } // function definition bool seekFile(ifstream& in, const char* seekString){...
  9. BobbyB

    Mutex

    thanks
  10. BobbyB

    Newbie: How to read/parse lines from a file

    ifstream myfile.open(&quot;name&quot;); while(myfile>>temp){ file|i++| = temp; } myfile.close(); I forgot this... sorry
  11. BobbyB

    Newbie: How to read/parse lines from a file

    // how about reading the whole file in a buffer... char file|10000|; char temp; int i=0; while(file>>temp){ file|i++| = temp; } file|i| = '\0'; // and then use the strstr function to retrieve the position of your text... char* ptr = strstr(file, &quot;WHATYOUARESEEKING&quot;); // ptr...
  12. BobbyB

    Call the default browser

    2. ShellExecute(0, &quot;open&quot;, pszMyHTMLFile, 0, 0,SW_SHOWNORMAL); seems only to work if the internet explorer is already open... Is this normal or it's(maybe) beacause I'm using NT 4.0
  13. BobbyB

    Mutex

    I'll try to explain my problem a little better... It's not exactly what I'm doing but it'll be easier to explain what I'm looking for. what I need to do... void Process(...){ myDlg dlg; // open the dlg as a modeless dialog box // I used DoModal here, but I really mean... stopping //...
  14. BobbyB

    Call the default browser

    How can I call the default browser(or internet explorer if it's easier) to display a website with MFC?
  15. BobbyB

    Mutex

    no... It's more complicated than that... well, if there is a way to play with the modal state of the window by never closing it, that would do. This window will be called hundreds of time and I don't want it to close and reopened each time...
  16. BobbyB

    Mutex

    Here's the situation... A Modeless Dialog Box(MDB) is open... and a function is running... At a point I want the function to call a method of the MDB and wait right there for the user to push a button in the MDB. When he does, the function will continue... Does something like this could work...
  17. BobbyB

    Dialog Box application

    I've put the code that I thought was useful... For this case, the ESC key calls OnCancel(that's ok)... but when I'm on a CTreeCtrl(or any other control that don't use the RETURN key) in my dialog box and I push RETURN... it's the OnClick event of the BtnOk that is call... seems kind of weird...
  18. BobbyB

    Dialog Box application

    I've used a part of your suggestion... I've overide the OnOK and OnCancel like this... .h virtual void OnOK(); virtual void OnCancel(); .cpp void OnOK(){} void OnCancel(){} ... it works great for some forms, but for others, it seems that the ESC or RETURN just don't used these override...
  19. BobbyB

    Dialog Box application

    This work really fine!!! Thank you Jeffray! But maybe a little better than what I was expecting... The &quot;ESC&quot; handle is great but the &quot;RETURN&quot; takes over some events like when a button is pressed(by the keyboard RETURN key)... If I don't handle the &quot;RETURN&quot;... the...
  20. BobbyB

    Dialog Box application

    I've started a dialog box application and I'd like to prevent a window from closing when someone push the &quot;ESC&quot; or &quot;RETURN&quot; key... thank you!

Part and Inventory Search

Back
Top