|
momer wrote: t I do not know how to retrieve the current windows account password or how to check the specified string is just the current windows account password.
is LogonUser api call of any use!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
If all you want to do is change the user's password, then check out functions like NetUserChangePassword(...) . (Other ones like NetUserSetInfo(...) and NetUserGetInfo(...) might provide some additional education.)
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
can we synchronize the windows point to dialog points..
sreee
|
|
|
|
|
A little more explanation please ?
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
|
|
|
|
|
actually i get the points wrt to dialog1.i want to comapre this points in child dialog.where dialog1 points r with respect to dialog1.where as in dialog2 iam getting wrt to window.so i want to synchronize these points,
thank u,
sree.
|
|
|
|
|
MapWindowPoints would be of any use?
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
|
|
|
|
|
can u give me small examples or any link regarding this
|
|
|
|
|
Please do not use incomplete words like “wrt” and “r”, it makes it difficult for those of use who do not speak gibberish. If you can write (draw) a point in one window (dialog) then you should be able to read it back and compare it with another point drawn on another window; the coordinate system does not changed.
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
|
|
|
|
|
how we can read back the points from main window to child window
|
|
|
|
|
How did you write them to a window without knowing how to read them. Normally you write them with a ‘set’ function (or method) and read them with a ‘get’ function, both of which use the same coordinate system.
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
|
|
|
|
|
Take a look at ScreenToClient(...)
|
|
|
|
|
sree_as wrote: can we synchronize the windows point to dialog points..
See LPToDP() and DPToLP() API's
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
can u give me small example
|
|
|
|
|
I think you are using the wrong word “synchronize”. I assume you are talking about converting windows points (coordinates [pixels]) into dialog points (coordinates) and vise versa. I do not have time to look it up right now, but the answer is yes. To get a get a better answer you will need to narrow you question a bit. Are you talking about screen coordinates, client coordinates, or an actual windows coordinates (which includes title bar and all)? The current position of the mouse could be in screen or client coordinates, depending on where the information is coming from. If it is coming from a message then it is probably in client coordinates. There are functions to handle the conversions for you or you may be able to write your own. In any case the information is buried in the help system some where.
Please be more specific and someone else will be able to answer you question in more specific terms.
INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra
|
|
|
|
|
When i use my application, if any error is logged in the event viewer relevant to my application, i need some sort of notification.
|
|
|
|
|
ok.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
|
|
|
|
|
try
NotifyChangeEventLog() ?
nave
|
|
|
|
|
|
|
|
|
am too in NeST... i can c u wearing a grey shirt !!!
|
|
|
|
|
hello naveen, rnt u wearing a grey shirt or am i mistaken? plz reply.
|
|
|
|
|
|