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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by stephd

  1. stephd

    GDI+ DrawImageAbort

    solved the second problem : i can pass a param to the callback function without any problem now... But the main problem is still here... Please i nedd some help S.D.
  2. stephd

    GDI+ DrawImageAbort

    Hi, In GDI+, some of the DrawImage functions have a parameter for a callback function to abort drawing. In the MSDN doc, it is said that the callback function is called several times, but with my experience, it seems that the callback function is called only once at the beginning of the drawing...
  3. stephd

    CAsyncSocket Assertion

    You're right ! I've just found it at the same time... this is the solution. I need to call AFX_MANAGE_STATE(AfxGetStaticModuleState()) before calling Create() member of CAsyncSocket ! thank you very much for your search S.
  4. stephd

    CAsyncSocket Assertion

    thanks for your answer, but MFC is supported : I check the Checkbow in appwizard. Moreover, i use a lot of other MFC classes without any pb... S.
  5. stephd

    CAsyncSocket Assertion

    Hi all, I've got a problem using CAsyncSocket in an ATL control (dll generated with ATL Appwizard) : The Create() method asserts because AfxGetInstanceHandle returns NULL. Is there any solution to solve this ? thanks in advance Stephd
  6. stephd

    IE embedded app

    Hi all, I would like to build an small app that can be embedded into an IE page, as for example real player does (or flash player does but i don't know if it is the same) but i'm afraid to not know how to start... I'm familiar with MFC app but not with COM or other things like that... What...
  7. stephd

    CHtmlView and HTTP headers

    Hi, I've a CHtmlView in my app, and i need to send the the HTTP server a special header to inform that the HtmlView is embedded into a special software. For this i use CHtmlView->Navigate2(URL,NULL,HEADERS); it works well for the first call but after that come the problems : when i want to...
  8. stephd

    windows system info

    Is it only a read of the registry key HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/ProductId or is there any other friendly api or code to get this info ?... thanks
  9. stephd

    windows system info

    Does anybody know how to retrieve the windows registration number showed in the system control panel in the field "registered user" . this number is the XXXXX-OEM-XXXXXXX-XXXXX thanks in advance stephd
  10. stephd

    How do I open an non local webpage in IE from VC++ program?

    try this : HINSTANCE result = ShellExecute(NULL, _T("open"), _T("http://your_url_here"), NULL,NULL, SW_SHOW); Stephd.
  11. stephd

    icon on taskbar button

    thanks a lot for your search ! it is exactly my problem :-) S.
  12. stephd

    icon on taskbar button

    In fact, it is quite strange because it depends on the OS. On win 98 or win Me, there is no icon in the task bar button, but on Win XP pro, the icon is well displayed... So i suppose it is a windows problem... Is there anyway to display the icon on win 98/Me ?... S.
  13. stephd

    icon on taskbar button

    yes, in the OnInitDialog, there is theses two lines : SetIcon(m_hIcon, TRUE); // Set big icon SetIcon(m_hIcon, FALSE); // Set small icon So the WM_SETICON message is used... but it does not work... thanks anyway for your answer S.
  14. stephd

    icon on taskbar button

    Hi, I've a dialog without title bar, so the button in the taskbar has no icon and no text. With a SetWindowText in the OnInitDialog, i can set a text for this button, but i really don't know how to set the icon... Is it possible and if yes, how ? note : when i press alt-tab to show all the...
  15. stephd

    dialog and message to another window

    thanks for the info. I will read it. However, i think i found a solution : just override OnCommand function because all WM_COMMAND goes throught it and toolbar "events" are WM_COMMAND messages. stephd

Part and Inventory Search

Back
Top