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

Search:

Type: Posts; User: Crom

Search: Search took 0.06 seconds.

  1. Replies
    5
    Views
    1,451

    Thank you Darwen. I had a feeling SetWindowPos...

    Thank you Darwen.
    I had a feeling SetWindowPos was the function I needed but I was not setting the first parameter properly.
  2. Replies
    5
    Views
    1,451

    What I wanted to do was, when my first button has...

    What I wanted to do was, when my first button has focus and TAB is pressed, I wanted to force the dynamic button to have focus. I tried SetFocus AND I tried SetWindowPos so it would be the topmost...
  3. Replies
    5
    Views
    1,451

    Dynamic controls and tab order

    I have several buttons on a dialog. Then, I dynamically add another button during execution. My problem is that I need the dynamic button to have a tab order somewhere between the other buttons.
    I...
  4. Replies
    2
    Views
    637

    Yes, I have MS Visual C++.net. The only way I am...

    Yes, I have MS Visual C++.net.
    The only way I am able to work around the problem is to capture the keystroke in PreTranslateMessage.
    However, I don't find this is the best way to do it and I would...
  5. Replies
    2
    Views
    637

    accelerator keystrokes

    Has anyone seen this?
    My window is a modal dialog with various buttons on it. In the caption for the buttons, I specify & before the character that I want so that when ALT + that character are...
  6. Thread: TabCtrl

    by Crom
    Replies
    2
    Views
    698

    I was able to capture in the PreTranslateMessage...

    I was able to capture in the PreTranslateMessage if the tab key was pressed and with the GetAsyncKeyState function I can tell if the Ctrl key is pressed along with the Shift. It works fine.
    Thanks...
  7. Thread: TabCtrl

    by Crom
    Replies
    2
    Views
    698

    TabCtrl

    I have a Tab Control along with other controls on a regular Dialog. I need to be able to have access to the tabs with the keyboard just by pressing Ctrl+Tab. And going backwards with Shift+Ctrl+Tab....
  8. Thread: Crystal reports

    by Crom
    Replies
    0
    Views
    542

    Crystal reports

    Hi,
    I am using VC++ 2003 and Crystal Reports verison 8.5.
    I would like to know what files I need to deploy to get the RDC(Report Designer Component) to work. I know I need the craxdrt.dll...
  9. Thread: Passing a CString

    by Crom
    Replies
    2
    Views
    613

    Thanks a lot.

    Thanks a lot.
  10. Thread: Passing a CString

    by Crom
    Replies
    2
    Views
    613

    Passing a CString

    I am fairly new at VC++ programming so please bare with me.
    I have a dialog window with a menu item. When I click on this menu item, another dialog window opens using following code:

    ...
  11. Replies
    8
    Views
    1,554

    CListBox OnSelchangeList

    I need to retrieve the currently selected index of my list box BEFORE the user has changed the selection.

    I am unable to retrieve the index before another item is selected since in the...
  12. Thread: OwnerDrawnListBox

    by Crom
    Replies
    1
    Views
    810

    OwnerDrawnListBox

    I am trying to draw different colored words in a list box string. I am able to draw the whole string a certain color but not by character or by word. Following is the code I use:
    void...
  13. Thread: Hidden Dialog

    by Crom
    Replies
    3
    Views
    709

    Hidden Dialog

    I am a newbie at Visual C++. I am trying to make the dialog of a dialog based application hidden depending on the command line parameters. However, the dialog is always visible.
    I have tried a...
  14. Thread: Picture Box

    by Crom
    Replies
    0
    Views
    637

    Picture Box

    I am trying to load a bitmap from a file to a picture box in a Dialog based application. Following is the code sample:
    CString filename;
    filename = "D:\\EARTH.BMP";
    HBITMAP h;
    h =...
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured