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 Mike Lewis 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. sgopinath

    WM_UPDATEUISTATE message in windows 2000

    Hi, Has anyone used the WM_UPDATEUISTATE or WM_CHANGEUISTATE message to update a parent and all its windows after a call to SetParent() in Windows 2000. the msdn docs say that this must be done... but my winuser.h file does not contain the declarations for the above messages and hence i am...
  2. sgopinath

    shutdown problem

    hi, do you have drivers installed for the UPS in your PC...??? and if yes, are they installed properly... ?? i cant think of any other possible cause... mail me if you fixed it ..;-) thanks, sgopinath.
  3. sgopinath

    Executing Programs

    Hi Andy, i feel that you have stepped over the stairs, one too many...;-) you need to firslt learn to write windows programs, and then start learning Windows Game Programming... Game Programming in Windows delves into topics such DirectX API's and may be OpenGL... So i suggest you keep your...
  4. sgopinath

    How to Display INT Variables in a Dialog?

    hi there, again the method by sriks is very much fine... but i think that you want to dusplay the int variable 'in the dialog itself, as text'... that means you want a "Static Text" (also called Labels) in the dialog box... to do this you add a CStatic control to the dialog box, and...
  5. sgopinath

    buttons on a dialog to open another dialog

    the method by sriks creates a modal dialog box. well if thats ur need, you need not read further ;-) in case you have to create a modeless dialog, you can use the create function, supplying the DialogID as a parameter... additionally you may have to set the focus to the child dialog (others: is...
  6. sgopinath

    Print problem

    hi, using Win32 API's you can easily achieve this i think... you can send the data to the printer using WritePrinter()... and pass it the character array wich can be obtained from CString... check out the sequence of calls needed before actually calling WritePrinter... like...
  7. sgopinath

    Win32 API on Windows 2000 Professional - known changes??

    Hi, I am getting an invalid handle error (GetLastError() returned 6, ERROR_INVALID_HANDLE) to a printer device context, while using the StartPage function in Windows2000 Professional. i am using the VisualC++ 5.0 compiler. The handle when used in the function StartDoc() to start printer spooling...

Part and Inventory Search

Back
Top