Search Results - CodeGuru Forums
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.01 seconds.

  1. Replies
    131
    Views
    10,279

    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...
  2. Replies
    3
    Views
    263

    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
  3. Replies
    3
    Views
    263

    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?
  4. Replies
    8
    Views
    315

    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...
  5. Replies
    3
    Views
    263

    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...
  6. Replies
    2
    Views
    206

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

    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 ...
  8. Replies
    21
    Views
    538

    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
  9. Replies
    21
    Views
    538

    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...
  10. Replies
    21
    Views
    538

    Re: Create edit box without resources

    Thanks, good advice
  11. Replies
    8
    Views
    315

    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.
  12. Replies
    21
    Views
    538

    Re: Create edit box without resources

    How to correct text line position in edit box? The text in edit box looks a bit higher.
  13. Replies
    21
    Views
    538

    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...
  14. Replies
    21
    Views
    538

    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...
  15. Replies
    8
    Views
    315

    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...
  16. Replies
    21
    Views
    538

    Re: Create edit box without resources

    static const UINT idEM50;
    ...

    error:

    error C2086: 'const int UINT' : redefinition



    const int idEM01 = 5001;
  17. Replies
    21
    Views
    538

    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;
  18. Replies
    21
    Views
    538

    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
  19. Replies
    21
    Views
    538

    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?
  20. Replies
    21
    Views
    538

    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
  21. Replies
    13
    Views
    425

    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 :-)
  22. Replies
    8
    Views
    289

    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...
  23. Replies
    20
    Views
    594

    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)...
  24. Replies
    20
    Views
    594

    Re: Selection in listbox or combobox

    I have restored the changes and now I will test the function



    LRESULT LinkListBox_Add(HWND listbox, const Link *link)
    {
    WPARAM index = List_AddStringW(listbox, link->name());...
  25. Replies
    20
    Views
    594

    Re: Selection in listbox or combobox

    Those are indexes of terrain constant (type of terrain for tile) and elevation for terrain tile.
Results 1 to 25 of 205
Page 1 of 9 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center