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

Search:

Type: Posts; User: crazy boy

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,191

    Re: What is this SHIFTED ?

    Yes, thank you. I read more:

    "In all four of the keyboard messages discussed so far, the wParam parameter contains the virtual-key code of the key. The lParam parameter contains some miscellaneous...
  2. How to set language of file in Visual Studio?

    I have Visual Studio C++ 2010.

    How to display non English characters (in my case Czech) in dialogue box?

    In my winapi project, there are two files resource.h and common.rc . They both have...
  3. Replies
    131
    Views
    55,082

    Re: Capture of Window

    I have read this answer:
    http://stackoverflow.com/questions/431470/window-border-width-and-height-in-win32-how-do-i-get-it
    from stukelly.

    The problem I wanted to solve was how to obtain the...
  4. Replies
    3
    Views
    1,092

    Re: How to make button stay down in winapi?

    I was inaccurate. I mean how to toggle state of checkbox. I found the answer:
    https://msdn.microsoft.com/en-us/library/windows/desktop/bb761875%28v=vs.85%29.aspx
  5. Replies
    3
    Views
    1,092

    How to make button stay down in winapi?

    Edit: Wrong title of the question

    How to enable checkbox or disable? I know that it has some enable bit but how to do it?
  6. Replies
    8
    Views
    1,485

    Re: Visual studio problems

    I did not write it correctly, that was mistake. It is window for compilation. It is displayed when some errors or warnings occur.

    RE:
    This was fast. Firstly I could not find anything, but then...
  7. Replies
    3
    Views
    887

    Style of border of button

    On the image I have 5 square buttons. How to make their border looking same as the combobox button? Either as the Combo itself or as the combos square part on the right side of the combos? The...
  8. Replies
    2
    Views
    786

    Re: How to load icon?

    Solved:

    Moved content of one .rc file to main rc file. The compiler had problem to include icons from two resources. I have no idea why but this is clear and simple solution.
  9. Replies
    2
    Views
    786

    How to load icon?

    I am trying to load icons (ico) :
    IDB_LOGO BITMAP "res\\aokts_big.bmp"
    IDB_GOOD BITMAP "res\\good.bmp"
    IDB_EVIL BITMAP "res\\evil.bmp"
    IDB_ICON_TERRAIN "res\\terrain1.ico"
    IDB_ICON_ELEV ...
  10. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    If I understand it, to create Groupbox I'll need to use WS_GROUP?
    https://msdn.microsoft.com/en-us/library/windows/desktop/ms632600%28v=vs.85%29.aspx
  11. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    Now I can create controls dynamically, but how can I create static control dynamically? Same way? I think dynamic control (either text or groupbox) doesn't look like window.

    I know I can write...
  12. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    Thanks, good advice
  13. Replies
    8
    Views
    1,485

    Re: Visual studio problems

    It does not remember. The Windows is not shown in debug mode, but while compilation failed because of errors. When I close it, it will show again next time.
  14. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    How to correct text line position in edit box? The text in edit box looks a bit higher.
  15. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    Thanks to this post Sep 3, 2013 at 1:29am I managed:
    http://www.cplusplus.com/forum/windows/109795/


    HFONT createNewFont(HWND dialog, char * fName = "Arial", int fSize=10, int fWeight = FW_BOLD...
  16. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    I have successfully added the edit box but I cannot use tabs to switch between them. Why is it? And text is bold and large - looks like the font for Window Title was used? How to change it to use...
  17. Replies
    8
    Views
    1,485

    Visual studio problems

    VS 2010

    How can I disable Error list Window to open every time when I debug in Visual Studio? I have the errors in Output window and that is OK but another panel is displayed which takes the...
  18. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    static const UINT idEM50;
    ...

    error:

    error C2086: 'const int UINT' : redefinition



    const int idEM01 = 5001;
  19. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    I got error
    Error 6 error C2086: 'const int UINT'
    in header

    even I had defined

    typedef unsigned int UINT;
  20. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    Ah, so I need define all controls as static, so I do not save anything. I thought like I would do something like uint control but in loop .... so I cannot. Thanks, for the link
  21. Replies
    21
    Views
    2,107

    Re: Create edit box without resources

    Do I need to define all names?
    #define ID_EDITCHILD 100
    or can I use int variable for it to dynamically define control IDs?
  22. Replies
    21
    Views
    2,107

    Create edit box without resources

    When I have a dialog window, how can I create edit box without need of resource file? For purpose of creation of edit boxes in a loop. Using Visual Studio 2010
  23. Replies
    13
    Views
    3,147

    Re: Add string to combo box

    Yep, I'll need to redesign the form yet because now I have a need to add more combo boxes :-)
  24. Replies
    8
    Views
    1,371

    width of combo box

    I have small space on Sheet page and lots of controls. I have combo boxes, which take place, and I need to make them slim, so if I click on it the items should expand. I need to auto-change the width...
  25. Replies
    20
    Views
    3,357

    Re: Selection in listbox or combobox

    OK, I got it. The problem is in the function above. I created new function which I call instead:



    LRESULT LinkListBox_Add_ByID(HWND listbox, const Link *link)
    {
    WPARAM index1 = (WPARAM)...
Results 1 to 25 of 208
Page 1 of 9 1 2 3 4





Click Here to Expand Forum to Full Width

Featured