is it possible to enumerate the taskbar icons(system tray) using win32 and there will be always a way to do that but which shell options to use or if somebody can link me to such topics that will nice... so i want to remove a particular taskbar icon using my own program...
So I am trying to take user input from an editbox for my dialog based app. The value should be a single float. I retrieve the value using GetWindowText() and sscanf(). I check that sscanf returns 1 to show that it in fact succesfully scanned in one
The problem is that this method of error checking is not the best. For example, if the user enters "20.5p", that will not flag an error, but instead will just take 20.5 as a valid value and ignore "p". How can I do more thorough error checking, such that I check to make sure the input is ONLY a single float and no trailing characters?
I believe fefe.wyx meant using class wizard to assign a float variable to the edit control. Then it will be restricted to that type, and to retrieve data you can call UpdateData(true). But I can't use this method because of the reason in my above reply.