|
i keep getting this window that pops up with something like "the wireless mouse battery is low..."
and I don't know what to do!
Is there an API or..?
I hope this is the right board
-- modified at 13:07 Tuesday 29th May, 2007
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Did you try replacing the battery in your wireless mouse?
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
Turn the mouse over. The battery juice keeps settling to the bottom.
BTW, do you have a Microsoft Laser Mouse 6000?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Ha! Worked like a charm!
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
damn it, you got me... didn't noticed the author of that marvelous question until i read David's answer !
come on Mark, don't you have anything better to do ? lol
|
|
|
|
|
toxcct wrote: come on Mark, don't you have anything better to do ?
Yes but I don't want to do it
It's amazing how long I'll put up with that dialog popping up before I reach all the way over to
the drawer next to me for batteries
Update: Mouse battery status is now critically low
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Hi,
Could u give some pointers on how to create a window that would look like MSN live messenger ? I am referring to those funky adornments and decorations that are found on MSN Live Messenger ? Things like gradients, tiny bitmap buttons, flyout controls - its like they have used HTML rendering for this.
Your help is highly appreciated as I am suppose to give my thoughts on how to create a similar gui for an application.
Eraj
|
|
|
|
|
Something like that would be very complex and would require a lot of drawing functions, and a LOT of owner-drawn controls - you would have to owner draw pretty much everything, which although having a nice end product, is very laborious and time-consuming. Note also that although it looks funky, it does slow the application down significantly, especially if transparency and other complex graphical renderings are used, one of the reasons why I believe that Windows Live Messenger is quite slow :@. You could think about creating simple owner-drawn items, such as buttons and menus, which are relatively simple to do, and then you could have some decorative bitmap images kept in a resource file which could be painted onto the background or something using the WM_PAINT command. You could also use transparency to make the application look more futuristic - take a look at this sourcecode here (Note the copyright notice).
Also, if you are using Visual Studio, take a look at the GDI+ documentation on MSDN for some more information. GDI+ is a good API as it is redistributable, under the copyright notices (look at the legal information on MSDN), and it allows for some basic image manipulation and reading of common file formats such as .jpg, .gif and .png, aswell as some nice text functions.
It also depends whether you want to use classes and MFC or not. I'm sure that there are a lot of classes out there for this sort of stuff, but as a straight-C programmer I am not familiar with any of these.
If you specify what you are trying to aim for further, I may be able to help you out a bit more.
Hope this helps!
--PerspX
|
|
|
|
|
Hi all.
I cant say type of my problem, but I have some case thet one class work in Visual C++.NET and dont work in Visual C++ 6.0
can help?
|
|
|
|
|
i'm not astonished at all that some code works on VS7.1 but doesn't work on VC6.
but i can't tell you more if you don't provide information... hey, it's you to give infos so that we can help you, not the opposite !
|
|
|
|
|
david bagaturia wrote: can help?
Yes. Change that one thing to the other.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
How we can help you when you cant say anything about your program!?
|
|
|
|
|
|
Hi,
I am using Visual Studio 2005 and Win 2k3 and I have made a command "del /S /Q /f c:\\testfolder", and want to execute it through CreateProcess, i get the error The system can't find the file specified i.e. "Del" exe, I usually use Del from command prompt, and in command prompt it works fine, any help regarding that.
Warm Regards,
Mushq
|
|
|
|
|
try:
system("del /S /Q /f c:\\testfolder");
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
I couldn't understand from that, what is system, is it a command??
|
|
|
|
|
system() is a native function from the C runtime, but deprecated. as i said previously, you should prefer using ShellExecute() instead
|
|
|
|
|
toxcct wrote: system() is a native function from the C runtime, but deprecated
Uh! and who deprecates it?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
it is not thread safe if i remember correctly...
|
|
|
|
|
toxcct wrote: it is not thread safe if i remember correctly...
hence it is not that bad...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
CPallini wrote: hence it is not that bad...
deprecated doesn't mean forbidden don't make me day what i didn't say
|
|
|
|
|
as bad doesn't mean evil . On the other hand, being forbidden would be irresistible, at least to me...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
CPallini wrote: and who deprecates it?
...it was me...
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
You! bad guy! (sorry can't resist...)
|
|
|
|
|