|
Thanks james, I thought Sleep is global call. hmm.. thanks for the info.. nice update for me.
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[ ]--
[My Current Status]
|
|
|
|
|
Hi all,
i want to change the color of a button when the cursor comes into contact with it...can anyone help me out in this???
Thanks in advance..
Rajeev
-- modified at 9:09 Tuesday 13th June, 2006
|
|
|
|
|
rajeev82 wrote: Hi all,
i want to change the color of a button when the cursor comes into contact with it...can anyone help me out in this???
Here[^] is the good article on Bitmap buttons
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
assume that I have some project that can support hot key and this project is running.Then I open another program for doing something.
While I'm using this program the first program will can't use hots key because now the focus is on the program that I'm using it.
If I want to make it always support hot key although I use another program.
How I do for this case?
|
|
|
|
|
|
Max++ wrote: assume that I have some project that can support hot key...
How are you doing this?
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I want to create bitmaps and save them on the hard disk.
May be i can start with 1.bmp, 2.bmp.... so on.
Basically on one webpage there is slideshow.
i want to find this window of webpage ,
I want to initiate a timer (same as the webpage interval at which slide changes) , at this timer event I want to capture the slide or web window as bitmap and save it on harddisk at any path.
How to find such a window. (internet web page)
How to create and save bitmap in the above manner.
Any hints?
thanks
row
|
|
|
|
|
|
Have a look to this :
CLick Me[^]
It will help you in Capturing a Window Image Into a Bitmap File
Cheers
"Peace of mind through Technology"
|
|
|
|
|
Dear all
I want to implement a watchdog in my code ?
please give me some example code.
Thanks a lot
|
|
|
|
|
wrote: I want to implement a watchdog in my code ?
Here[^] is the code in dotnet which may helps you.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
|
WhiteSky wrote: but its C#
Already specified that code of dotnet.
May get any idea from same.
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
I hope
whitesky
|
|
|
|
|
Me too
Knock out 't' from can't,
You can if you think you can
|
|
|
|
|
And what is your watchog supposed to do exactly ? And what is the 'resolution' you want to achieve ? (remember that windows is not a real-time OS).
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
A while ago, I wrote a simple little app which would look for a file in a marticular location - e.g. c:\MyFolder\MyWatchdogFile.txt". If it wasn't there, the app would restart the PC using ExitWindowsEx(), with the correct parameters set. If it was, it would remove the file.
I arranged for the Watchdog app to check for the file every minute, and my main application to write the file to the folder every minute as well.
This did work for me, however, some of you super programmers may find problems with this?
I hope this helps!
Mike
|
|
|
|
|
A minor suggestion - an application I worked on created the file every minute (say), while the checking application checked every 2.5 minutes. Just a little extra buffer in case there is a small time overrun, but the creating program recovered without hanging.
|
|
|
|
|
how can i find the default application for a selected file.
|
|
|
|
|
What do you want to do exactly ? Execute the program to open the file ? Then you can simply use ShellExecute for that, the file will be opened by the correct application.
If you want just to retrieve the name of the app (for example), then you have to look in the registry but I cannot help you more on that.
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
stop asking again and again the same question follow the same thread please
this does the job :
ShellExecute (NULL, "open", "c:\song1.mp3", NULL, NULL, SW_NORMAL);
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]
|
|
|
|
|
when i see one ask in many threads i remember you and i say that now where is toxcct
whitesky
|
|
|
|
|
|
Use FindExecutable() or AssocQueryString() .
"The largest fire starts but with the smallest spark." - David Crow
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Whoops! I meant to vote you a 5, not a 1, sorry.
To all - this is the right solution to find an associated application. ShellExecute/Ex(...) only launches it (if one exists).
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!)
|
|
|
|