Re: How to open the network card dialog in my program?



There are no built-in functions to do that. It seems to me that there was a
thread a while back about how you might achieve this, but I don't recall if
we ever resolved anything, really. *Why* do you want to do this?

Here's what I'd do if I were you:

1. Get Platform Builder. If you are the device vendor (you're building the
Windows CE configuration for your device), you must already have it. If you
are not the device vendor, download the evaluation copy of the right
version, CE5, from www.microsoft.com/downloads.

2. Look at the source for the NetUI 'driver' installed with Platform
Builder. It's in \wince500\public\common\oak\drivers\netui. This will show
you how the driver decides what icons to put in the system tray and what it
does when the user double-taps on one.

3. Figure out what you really want to do. If you want to display the
settings for a particular network adapter that already has an icon in the
system tray, you might be able to figure out which one and simply send
appropriate mouse messages to double-tap it. If this won't work, because
you have several icons and don't know which one you want to pop up, see #4.

4. If you can't figure out which icon you want for some reason, you could,
if you are the device vendor, build a customized version of the NetUI driver
which has some additional API that allows you to display the configuration
dialog for a given adapter. You might do this via a new exported function
that you add to NetUI.dll, for example:

extern "C" DWORD WINAPI ShowNetConfigDialog( LPCTSTR adapterName );

Paul T.

"Tiger" <Tiger@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:49438806-C3FE-4DBC-B252-3FDEA340CDD1@xxxxxxxxxxxxxxxx
I'm using wince500, as you know when network card working, there's a small
icon appears in the system tray at the right bottom of the screen, when we
double click the icon, a network card dialog box would popup.
But now i need to fetch out the dialog box in my program but not double
click, what functions should i use?(Win32 SDK or MFC functions), is there
any
idea?
Thanks a lot!


.



Relevant Pages

  • Re: Disable networking icon in system tray
    ... icon in my system tray, because I really don't want to disable that adapter. ...
    (microsoft.public.windowsxp.general)
  • Re: How to open the network card dialog in my program?
    ... Thanks a lot, Paul! ... If you are the device vendor (you're building the ... If you can't figure out which icon you want for some reason, you could, ...
    (microsoft.public.windowsce.app.development)
  • Re: Outlook 2003 System Tray Icon
    ... You can however hide the outlook icon in the system tray by ... it appears that I cannot be rid of the Outlook 2003 icon in the ... || He expects a program to run without appearing on either the Taskbar ...
    (microsoft.public.outlook)
  • Re: How do I manually create an icon in the system tray?
    ... That would preclude the service itself from using the system tray for a ... notify icon. ... the System Tray which allows the developer to test Start / Stop, ... instantiating a NotifyIcon instance. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Removing item in Task Bar
    ... Tools, Options, System Tray of the LimeWire program. ... "Ken Blake, MVP" wrote: ... I have resorted to eliminating the icon through the Startup ...
    (microsoft.public.windowsxp.perform_maintain)

Loading