Hey, why don't you fuck off. We're having a nice pleasant discussion about it and you don't need to come in here acting like a fucking a**hole.
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
I am writing a WIN32 Application that has 3 edit boxes with 3 static text controls. I want the user to be able to enter the keystroke "ALT-1" and be placed in edit in the first box, etc. I am creating all my windows in the WinMain function. Everything works ok when the window is displayed initially, but if I "ALT-TAB" to a different window or minimize the window then the "ALT-1" key sequence stops working. The same problem exists for the Menu shortcuts ("ALT+F" for example)
I looked at handling the WM_CREATE message but I am not sure that will really resolve my problem because it looks like WM_CREATE is handled even before WinMain is executed? I am pretty sure my problem is because I am creating all my windows in WinMain but I am unclear/uncertain what action I should take. I also don't know exactly what I should look for/search on at the MSDN website. I know there is something I am doing wrong I just don't know what it is....
Thanks! So if I don't want ALT+1 to be used/see by my app when it does not have the focus what do I need to do? Should I be using an Accelerator Table? I thought accelerator tables were only for shorcut keys (keys that would correspond to a menu option (CTRL+O for Open) can they also be used for things other than menu options? I am confused by the terms shortcut keys, accelerators and Mnenmonics. Are they the same thing or are there differences?
Thanks for your help!
I am confused by the terms shortcut keys, accelerators and Mnenmonics. Are they the same thing or are there differences?
An accelerator is a keystroke or combination of keystrokes that generates a WM_COMMAND or WM_SYSCOMMAND message. Although accelerators typically generate commands that exist as menu items, they can also generate commands that have no equivalent menu items.
A mnemonic is a selected letter or digit in the label of a button or in the text of a static control. The system moves the input focus to the control associated with the mnemonic whenever the user either presses the key that corresponds to the mnemonic or presses this key and the ALT key in combination. Mnemonics provide a quick way for the user to move to a specified control by using the keyboard.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
I'm in need of incorporating some mpeg1 splitter to my appliction. If any body knows where can I start to get some information Will be appreciated.
I have splitt the mpeg1 file as a binary file some times it works fine but some times I ha sprolem with the way color is restore at the play time.
I'm currently doing a university project for a resistor value selector program.
For this project, I have the program load in a series of calculated values into an array's elements. I now require my program to find the element of the array that has the smallest value and set an integer 'a' with the number of the element as opposed to the value it holds i.e.
I want to insert an icon into my application's resource, but every way I do it, it comes out ugly.
I extracted an icon from shell32.dll, and tried to import it into the icon editor of VC++ .NET 2003. However, the 32x32 32bit icon has an ugly black mask around it. If I open the same icon in Axialis IconWorkshop, the icon looks fine.
How would I normally get a 32bit icon in my resource, without having VC++ messing it up?
You can insert any icon you like into your resource file, but don't try to open or edit it inside Visual Studio because it will screw it up. The icon editor only supports up to 256 colour icons. The icon will still work correctly in your application if you don't edit it inside Visual Studio.
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late"John Nichol "Point Of Impact"
I’m starting working VC;I'm trying to make an explorer application (dialog based), I' ve been revising some articles about the use of tree, list and combo controls, I' ve alredy made the explorer but I don't know how to make a filter to select from a series of diferents formats, and links between the controls so that in the combo you can select an extension, after looking a file, and in the list be shown the documents corresponding to this formats.
please if you can help me I really appreciate it a lot (firstname.lastname@example.org)
Last Visit: 31-Dec-99 18:00 Last Update: 21-Sep-23 9:41