> This is AFAIK exactly as a file handle that is just some kind of unique
> value that is initialized by the OS...
this would be a problem - in special case the same logonwindow would be
shown twice.
So i have to change only the control Id (how?) or find an complete
alternative solution.
> (I find a bit strange a Single Sign On API needs to go at such a low level,
> are you sure they don't mean that you should pass some kind of value that
> uniquely identifies the user ?)
The write the username and the password directly in the LogonWindow. (not
only in our app)
regard paul
Patrice - 26 Jan 2006 16:44 GMT
Someone else would perhaps popup but IMO your best bet is likely to try a
group focussed on C/C++/Windows API and explain there the details. AFAIK
this is just defined by the OS and you can't define this yourself (this is
AFAIK basically a pointer into OS maintained structures).
The last resort I see if the problem is that the value change would be to
keep this windows around for the whole application lifetime. You can't
define the value but this way it will be always the same for a given
session.
Also you could just perhaps call again the API when the window is created
again so that this API is aware of this change...
Good luck...

Signature
Patrice
> > This is AFAIK exactly as a file handle that is just some kind of unique
> > value that is initialized by the OS...
[quoted text clipped - 11 lines]
>
> regard paul
Herfried K. Wagner [MVP] - 26 Jan 2006 23:25 GMT
"Patrice" <a@bc.c> schrieb:
> Someone else would perhaps popup but IMO your best bet is likely to try a
> group focussed on C/C++/Windows API and explain there the details. AFAIK
> this is just defined by the OS and you can't define this yourself
ACK. Handles are chosen by the operating system.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>