They define where the end of each "case" is - I put them in to stop some cases accidentally running into eachother.
Type: Posts; User: Penguin of Oz
They define where the end of each "case" is - I put them in to stop some cases accidentally running into eachother.
Just to be sure, put a few breaks and stuff into your dialog procedure:
BOOL CALLBACK NewTournyProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
switch(message)
{
...
Those beeps are part of Windows, configurable through the sound settings in the Control Panel. I'm not sure how you'd go about turning them off... I don't see why you'd want to either, they're there...
In addition to learning about the SMTP protocol, you'll need to learn about the wonders of Winsock (eugh). Anyone know a link to a good Winsock tutorial?
When you find an SMTP server, experiment...
Hehehehe, that's a sneaky, yet good idea. :) "Thou shalt press the button!".
Only problem would be if the user Alt-Tabbed out :(
I had my doubts about that working, I appreciate it's messy, but Dev-C++/cygwin/mingw32 lapped it up nicely.
Personally, I usually keep a char szMessage[256]; or something in any functions that...
Quote from Win32 SDK Reference talking about the flags:
:)
Also, some people may argue it's nicer to use sprintf(...);:
char one[64] = { "hello " };
char two[6] = { "world" };
sprintf(one, "%s%s", one, two);
MessageBox(NULL, one, "Meep", MB_OK |...
Both of you: thank you ever so much! :)
I never thought of putting the text into a status bar before, but it seems an excellent solution and would probably be less annoying that hints popping up....
Thanks for your reply...
However, is there anything for Win32 C (C++ is icky :() and is there a way to assign a tool-tip to something other than an item located in a toolbar? For example, a...
It's supposed to be the virtual keycode for the character '1'. Sorry, I didn't test this code... :x
I'll try and find the VKCode for 1 now... one moment...
Turns out you can use ASCII values...
This has probably been asked many times before, but I was wondering if anybody could enlighten me as to which function can be used to assign a hint/tool-tip to anything on a dialog box.
Thank you.
Does anyone know where I can find information on coding a Win32 C app with Active Data Objects/ADO?
Thank you in advance. :)
If you only want to check for programs with visible windows open, the next step would be to use the function IsWindowVisible(...);
Example:
if(IsWindowVisible(hWnd)) AddToList(hWnd);
...
Firstly, Windows was written in C, so C is the most popular (and probably best) language to write Windows programs in.
Personally, I took life the cheapskate way and learnt from online tutorials....
The simplest solution to your problem would be to use hotkeys in your program to detect if somebody pressed '1', '2', etc.
This is acheived through the use of a funky function called...