Re: IP Address Control Box on Win 2000?



On May 9, 6:51 pm, Schumi <SchumiI...@xxxxxxxxx> wrote:
Hello,
  I created an IP Address Control Box using VS2005 .rc file editor (I
dragged it in). I then call DialogBox
   DialogBox(hInst,(LPCTSTR)IDD_NETWORK, 0, (DLGPROC)NetworkChange);

 On WinXP this launches great and I see the box. But on Windows 2000,
it launches but does not enter or send the  WM_INITDIALOG message. If
I delete the IP Addr Control, it works great? Doesn't IP Addr Control
work on 2000?

Any help?
Thanks


Hi,

You need to initialize and register specific common control
classes before you create and launch your dialog box, the
following API should help you out:

InitCommonControlsEx()

http://msdn.microsoft.com/en-us/library/bb775697(VS.85).aspx

Kellie.

.



Relevant Pages

  • IP Address Control Box on Win 2000?
    ... On WinXP this launches great and I see the box. ... I delete the IP Addr Control, ...
    (microsoft.public.win32.programmer.ui)
  • IP Address Control Box on Win 2000?
    ... On WinXP this launches great and I see the box. ... I delete the IP Addr Control, ...
    (microsoft.public.win32.programmer.networks)
  • Re: Burning .ppts to CD and Windows XP Media Player autoplays the movies first
    ... and then create an autorun.inf file that launches the menu ... as long as those videos are on the CD Windows will try to launch them. ... Microsoft PowerPoint MVP Team ... When handed out, client PC jumps on ...
    (microsoft.public.powerpoint)
  • Re: Great SWT Program
    ... it automatically launches five applications in ... for adding a multitasking session of some sort.) ... But none since the Windows 3.1 days where the ... If all the apps you ever wanted to use ...
    (comp.lang.java.programmer)
  • Re: Prevent winlogon before a specific program starts from a servi
    ... > Windows 2003 Server Standard Edition. ... > The circumstances is the scenario described, it launches the system (read ... >>What happens now if the user log off and another user log on? ... > The goal is to have the system (read applications!) start at boot of the ...
    (microsoft.public.win32.programmer.kernel)