Type: Posts; User: RussG1
Search took 0.03 seconds.
August 24th, 2004, 12:32 PM
Whether a window is user sizable or not is controlled by the window styles used when you create the window, etc. It sounds like you do not want a resizing border, and want to disable the maximize...
August 23rd, 2004, 10:00 PM
That is a GroupBox control, which is nothing more than a "BUTTON" control with the BS_GROUPBOX, WS_CHILD, and WS_GROUP styles.
CreateWindow("BUTTON", "Text_Displayed", BS_GROUPBOX |...
August 23rd, 2004, 03:20 PM
SendMessage(GetDlgItem(hwnd, IDC_CONTINUE), BM_SETSTYLE, BS_DEFPUSHBUTTON, TRUE);
SendMessage(GetDlgItem(hwnd, IDC_ORDERNOW), BM_SETSTYLE, BS_PUSHBUTTON, TRUE); ...
August 23rd, 2004, 01:16 PM
No problem. Make sure you download the source code for the tutorial rather than just trying to figure it out from the code snippets as the snippets do not always show everything. Also, check out...
August 23rd, 2004, 01:01 PM
hmm, did you check out the section: "App Part 1: Creating controls at runtime" where it shows the following?
hEdit = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "",
August 23rd, 2004, 12:35 PM
Check out the following link:
theForger's Win32 API Tutorial
As for disabling the Editbox, look at the documentation for EnableWindow (can be used to enable disable windows).
August 23rd, 2004, 12:26 PM
What did you return from OnInitDialog()?
The docs say:
"The dialog box procedure should return TRUE to direct the system to set the keyboard focus to the control specified by wParam. Otherwise,...
August 23rd, 2004, 12:03 PM
That rectangle is the focus rectangle, which indicates which button currectly has the focus. Changing the default button does not change the focus, and will have to be done manually to move the...
August 23rd, 2004, 11:50 AM
Yeah, I had noticed that as well. That is trickier to track down as I do not know much about Video For Windows, and you use GetDC in one function and use ReleaseDC in seperate functions and it is...
August 21st, 2004, 05:06 PM
Here are some sites that might help get you started:
Tutorials From FunctionX
theForger's Win32 API Tutorial
TeachYourself.mancz.nl - The ultimate online resource
August 21st, 2004, 04:17 PM
I was thinking about it, and again think I may have mis-understood how you want the program to function and thus my previous reply may not be correct. I was thinking you wanted both windows to be...
August 21st, 2004, 11:41 AM
August 21st, 2004, 09:58 AM
BTW: That is not your only problem. You are gonna have similair problems with the menu items. When you select one of the playback controls (either from the menu or the toolbar), you are only...
August 21st, 2004, 09:15 AM
Ok, I mis-understood your problem as it is not completley apparent from the pictures and source code snippet you posted. I have downloaded the project and now I can understand what you are saying. ...
August 20th, 2004, 08:58 AM
"backward compatibility" ensures, that as Microsoft releases newer versions of the common control dynamic-link library, that older programs that used older versions of the library still work...
August 20th, 2004, 08:09 AM
You can only have one top-level window as the active window at any time. This is normal Window's behavior. I do not think there is any way to do what you want using two seperate windows. I haven't...
August 16th, 2004, 04:06 AM
You can derive your own class from CEdit and handle the OnChar function (WM_CHAR message). In that function you can check which key was pressed and and then do the appropriate action. i.e. To pass...
July 25th, 2004, 06:33 PM
When you say there are no resources, are you speaking of just the .RC file, or do you mean there are no .ICO/.BMP 's, etc, anywhere in the project?
Is there currently a custom icon being used, or...
July 17th, 2004, 10:20 PM
You trap the Enter key, copy the text, and then clear the view, but the Enter key has allready been processed and will generate a "/r/n" when the OnKeyUp event fires (after clearing the view)....
July 17th, 2004, 09:54 PM
Is your dialog a child window or a top-level window?
From the documentation of GetDlgCtrlID():
Although GetDlgCtrlID may return a value if hwndCtl is a handle to a top-level window, top-level...
July 13th, 2004, 10:01 PM
I am not sure if there is an API function to change the Windows virtual memory settings, but you should be able to simply modify the appropriate registry key to do what you want.
July 12th, 2004, 11:29 PM
Sorry that should read CDHtmlDialog.
July 12th, 2004, 11:12 PM
Ahh, Ok, I understand. I am unsure of the content that is shown using that link, as it appears there are some characters that did not print correctly when it was posted, (and I think the news shown...
July 12th, 2004, 09:36 PM
You may want to try asking your question in another forum, possibly the C++ (Non Visual C++ Issues) forum, as this forum is for Visual C++ and thus is geared towards the Windows platform.
July 12th, 2004, 09:19 PM
This is not really the appropriate forum for your question as it does not appear to be related in any way to Visual C++ Programming. Aside from that, to view your news feed you need something that...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.