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. dijkstra

    how to : detect pasting text to a rich edit control ?

    another suggestion :) subclass the control and write handlers for WM_PASTE and EM_PASTESPECIAL
  2. dijkstra

    Wizards--how to make?

    CPropertySheet CPropertyPage look for CPropertySheet::SetWizardMode
  3. dijkstra

    repaint

    BOOL RedrawWindow( HWND hWnd, // handle of window CONST RECT *lprcUpdate, // address of structure with update rectangle HRGN hrgnUpdate, // handle of update region UINT flags // array of redraw flags ); this one popped up on MSDN after typing redraww...
  4. dijkstra

    Crashing problem with ActiveX Dialog

    it looks like an activex control creation problem :) trace your dialog creation process -- exactly to the point where your client activex control and investigate the reason for the creation's failure. i would go for a stupid reason like not initializing ole before trying to create or something...
  5. dijkstra

    NoModal windows!!!

    do not create the dialog as a modal one :) look up CDialog's Create method in MSDN for a way to do it.
  6. dijkstra

    Color of List box entries

    as far as i know the only way is to subclass the listbox control window and handle messages like WM_CTLCOLOR yourself. maybe you will have to do even the drawing yourself
  7. dijkstra

    SetTimer() does not work

    i'd go for that as well. msdn says that wm_timer is a low priority msg and i guess it does not get sent. i did a simple test -- set up a timer and drag the window... no matter the timer expires if the window is dragged at that time tha msg does not get sent you can go for some other type of...
  8. dijkstra

    SetTimer() does not work

    according to msdn :) if u supply a hwnd (your case with the dialog's handler) when the timer timeout time elapses a WM_TIMER message will be sent to the window. i think that timerproc is called ONLY if u dont supply a hwnd (i.e. leave the parameter as NULL), anyway u can check that: 1) define a...

Part and Inventory Search

Back
Top