|
Amarelia wrote: I want to run this programm on Windows 2000 and WindowsXP.
look at ISensNetwork
"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
|
|
|
|
|
Thank a lot Alok
But what I think is, for this I have to use this function in certain time interval to check if my network cable is plugged or not? And I don't want that.
I want something like event which tell me whenever network cable is unplugged. I think there must be some events occuring while this happens and thats the reason why windows knows it and shows the icon accordingly in system tray.
Thanks again
Mahesh
|
|
|
|
|
Amarelia wrote: I have to use this function in certain time interval to check if my network cable is plugged or not? And I don't want that.
Who Said that you have to check at regular interval!, iSensNetwork is a disinterface, i.e.just query the interface, make a handller for event function and wait for event to happen.. there nothing like querying at regular interval
"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
|
|
|
|
|
How do I find if a font is installed in the system or not? There is no API like BOOL IsFontInstalled(LPCTSTR szFontName);
Thanks
Aljechin Alexander
|
|
|
|
|
|
Thank you so much. I will try this and see if it helps me.
p.s. Your new signature is better than previous. But it still is harsh on the eyes. Why not light blue color? Just a suggestion
Regards,
Aljechin Alexander
|
|
|
|
|
Aljechin wrote: Your new signature is better than previous. But it still is harsh on the eyes. Why not light blue color? Just a suggestion
You said it you'll have it.
Right now it's in testing phase. Release is pending. He he. Next time it'll be better.
|
|
|
|
|
Owner drawn wrote: Right now it's in testing phase. Release is pending. He he. Next time it'll be better.
its look better now , just add a simple Line Jesus Love All
"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
|
|
|
|
|
|
Hi all,
How could I draw the non-client area in a owner draw menu?
Thank you.
- NS -
|
|
|
|
|
Can you customise your question ?
Vipin - MVP
|
|
|
|
|
|
AFunc is a member variable, that is why youa re getting that error.
Can you consider making AFunc as static function?
or
check this[^]
-Prakash
|
|
|
|
|
|
Owner drawn wrote: Sounds silly but still would like to know. Since it is also a function.
no its not silly, coz it has a good logic behind it, member function has a different "hidden" signature than other functions.
-Prakash
|
|
|
|
|
Mr.Prakash wrote: no its not silly
Mr.Prakash wrote: coz it has a good logic behind it, member function has a different "hidden" signature than other functions.
Yea you are right.
|
|
|
|
|
|
kdar wrote: The functions are mangled so that they can be uniquely identified and called upon invocation
no you are wrong. mangling is nothing to do with it. mangaling is more relevant for compilers and linkers.
The hidden param is the this param passed to the member functions.
-Prakash
|
|
|
|
|
|
Owner drawn wrote: Edit:Where did he go
he left coz he could not support his theory.
-Prakash
|
|
|
|
|
|
|
Owner drawn wrote: ForumVisual C++
Subject:Re: Zzzz
Sender:Owner drawn
Date:6:56 12 Jan '06
don't sleep
"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
|
|
|
|
|
A function member of a class doesn't have the same prototype as a global function: there is the 'this' paramter that is passed as an implicit argument of the function (but it is transparent to the user). To avoid that, you can declare your member function as static. A static function is shared aming all instances of your class and thus doesn't require the implicit 'this' parameter. But of course, within a static function, you can only access static member of your class (because the function does not belong to a specific instance of the class).
|
|
|
|
|