Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: RussG1

Page 1 of 38 1 2 3 4

Search: Search took 0.06 seconds.

  1. Replies
    9
    Views
    1,491

    Re: Making buttons & edit/list boxes

    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...
  2. Replies
    9
    Views
    1,491

    That is a GroupBox control, which is nothing more...

    That is a GroupBox control, which is nothing more than a "BUTTON" control with the BS_GROUPBOX, WS_CHILD, and WS_GROUP styles.

    i.e.


    CreateWindow("BUTTON", "Text_Displayed", BS_GROUPBOX |...
  3. Replies
    10
    Views
    1,304

    case WM_INITDIALOG: { ...

    case WM_INITDIALOG:
    {
    SendMessage(GetDlgItem(hwnd, IDC_CONTINUE), BM_SETSTYLE, BS_DEFPUSHBUTTON, TRUE);
    SendMessage(GetDlgItem(hwnd, IDC_ORDERNOW), BM_SETSTYLE, BS_PUSHBUTTON, TRUE); ...
  4. Replies
    9
    Views
    1,491

    No problem. Make sure you download the source...

    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...
  5. Replies
    9
    Views
    1,491

    hmm, did you check out the section: "App Part 1:...

    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", "",
    WS_CHILD |...
  6. Replies
    9
    Views
    1,491

    Check out the following link: theForger's Win32...

    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).
  7. Replies
    10
    Views
    1,304

    What did you return from OnInitDialog()? The...

    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,...
  8. Replies
    10
    Views
    1,304

    That rectangle is the focus rectangle, which...

    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...
  9. Yeah, I had noticed that as well. That is...

    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...
  10. Replies
    2
    Views
    514

    Here are some sites that might help get you...

    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
  11. I was thinking about it, and again think I may...

    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...
  12. http://www.microsoft.com/msdownload/platformsdk/sd...

    http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
  13. BTW: That is not your only problem. You are...

    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...
  14. Ok, I mis-understood your problem as it is not...

    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. ...
  15. "backward compatibility" ensures, that as...

    "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...
  16. You can only have one top-level window as the...

    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...
  17. Thread: CEdit

    by RussG1
    Replies
    12
    Views
    1,935

    You can derive your own class from CEdit and...

    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...
  18. Replies
    1
    Views
    1,538

    When you say there are no resources, are you...

    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...
  19. Replies
    1
    Views
    758

    You trap the Enter key, copy the text, and then...

    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)....
  20. Replies
    5
    Views
    746

    Is your dialog a child window or a top-level...

    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...
  21. Replies
    2
    Views
    502

    I am not sure if there is an API function to...

    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.

    Key:...
  22. Sorry that should read CDHtmlDialog...

    Sorry that should read CDHtmlDialog.
  23. Ahh, Ok, I understand. I am unsure of the...

    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...
  24. Replies
    1
    Views
    341

    You may want to try asking your question in...

    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.
  25. This is not really the appropriate forum for your...

    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...
Results 1 to 25 of 932
Page 1 of 38 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center