Re: How to open the network card dialog in my program?
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 29 Dec 2008 09:24:45 -0700
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!
.
- References:
- Prev by Date: Windows CE 5.0 exception error, but not if message box is in place. Help!?!
- Next by Date: Re: Windows CE 5.0 exception error, but not if message box is in place. Help!?!
- Previous by thread: How to open the network card dialog in my program?
- Next by thread: How to popup network card dialog in my program?(WinCE500)
- Index(es):
Relevant Pages
|
Loading