Q 1.15 How to find Unicode FILENAMES from a certain Directory?Ī.Look at, and When that message is received, return 0, start the "dialog based application." and then shutdown on your own by using ExitWindowEx Api You would need a separate application running that handles the WM_QUERYENDSESSION message. Q 1.14 How to run an application when Computer is about to shutdown?Ī. Floating point numbers suffer from precision problems anyhow, you should be using double if you want to improve precision, and a fixed point format if you want to be absolute lt. No - quite obviously if you compress the numbers into a smaller range, you will lose precision. Q 1.13 Can i normalize this array into 0.0 to 0.1 without precision lost (and still maintain it as float)?Ī. In the main program, where you retrieve the data from the registry, repeat the declarations without the extern keyword. The simplest thing to do is to place it in stdafx.h, marking the declarations with the extern keyword. Q 1.12 How To Make Data Arrival to whole application / or make it global in whole application?Ī. Q 1.11 How to Detect Multiple VGA card in Display? For Monitoring Directory/File changes use and for registry monitoring. Q 1.10 How to monitor Directory and Registry for any Modification or Updation?Ī. Or CFile::GetStatus() or _stat() or GetFileTime() Q 1.09 What is the best was to get the modified date/time of a file ? Q 1.08 Is there an “Official C++ rules” (perhaps guidelines is better than rules) web site? use :- For Creating the Process then call for waiting for object to execute and then call to make application terminate. Q 1.07 How i can run an Application file for a While and then stop it ?Ī. A very nasty trick would be to derive a class from the combobox control, use it in place of your combobox control, capture the mousewheel messages WM_MOUSEWHEEL and then don't forward them to the base class. Q 1.06 How do i disable mouse wheel in comboBox (MFC) ?Ī. But before that you have to use functions like, for the actual effect to take place. Q 1.05 How i can change my console display mode to full screen mode in a dos based c++ program?Ī.You will have to use the function to set the size. Q 1.04 Is there is any wrapper present for the Xml Parser in Visual C++?Ī.Maybe you'll find some interesting things Q 1.03 How to get the absolute path of the virtual folder like My Doucuments, Recycle Bin etc.?Ī. library/en-us/fileio/fs/enumerating_mount_points.asp Q 1.02 How to get drive volume serial number in VC++ ?Ī.Either Use or see here retrieve the Caption Text associated with Windows handle for getting handle of application which currently have Keyboard Focus How to get application currently activated, Name of Application and Window Caption ?Ī.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |