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

Search:

Type: Posts; User: THEARTOFWEB

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    458

    minimize window

    Hi,

    I'd like my app to show a small dialog when the main windows is minimized. Now, I think that's not a big deal to cacth the message when the main window gets minimized. Also, this is how the...
  2. Replies
    21
    Views
    1,637

    Re: Splash screen

    By the way, this works great as a splash screen:



    //
    // Splash Screen
    //

    IDD_SPLASH DIALOG 0, 0, 300, 200
    STYLE DS_3DLOOK | DS_ABSALIGN | DS_CENTER | DS_FIXEDSYS | WS_VISIBLE | WS_POPUP
  3. problem include my class in a win32 project

    Hi,

    I am experiencing strange behavior when tring to compile a projetc. I created a new win32 Project that comes with a "stdafx.h" and "stdafx.cpp" files. The entry point of the app "int...
  4. Replies
    21
    Views
    1,637

    Re: Splash screen

    Actually, I am forced to use regular win32 API instead of MFC.
  5. Replies
    21
    Views
    1,637

    Re: Splash screen

    First I'd need to know how to retrieve screen size. then I would I would divede width / 2 and height / 2. If my sreensplash window is 320x240 then I shoule place it (screen width / 2) - (window size...
  6. Replies
    21
    Views
    1,637

    Re: Splash screen

    I too would like to create a splash screen (non mfc). I was just wondering what the standard size is for a splash screen(width/height) and how I can show it in the very center of the screen (in a...
  7. Replies
    8
    Views
    567

    Re: memset problem

    btw if I were you I'd always initialiaze vars with something:



    char arr[99] = {0};
  8. Replies
    10
    Views
    4,747

    Re: How to make a Dialog resizable

    I tried adding this:



    case WM_GETMINMAXINFO:
    pMMI = (LPMINMAXINFO)lParam;
    pMMI->ptMaxTrackSize.x = 300;
    pMMI->ptMaxTrackSize.y = 300;
    break;
  9. Replies
    10
    Views
    4,747

    Re: How to make a Dialog resizable

    uhm...I think I need some help with that
  10. Replies
    10
    Views
    4,747

    Re: How to make a Dialog resizable

    by the way, I have found the the status bar does not need any actual parameters to be redrawn! the following creates a status bar in the Dialog:


    // Create Status Bar
    //...
  11. Replies
    10
    Views
    4,747

    Re: How to make a Dialog resizable

    I guess this is the right code to achieve the goal:



    int dlgw = 0;
    int dlgh = 0;
    TCHAR szWidth[5] = {0};
    TCHAR szHeight[5] = {0};
    TCHAR marameo[256] = {0};...
  12. Replies
    10
    Views
    4,747

    Re: How to make a Dialog resizable

    I noticed something strange with this code:



    INT_PTR CALLBACK procPopup(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
    {
    UNREFERENCED_PARAMETER(lParam);

    RECT rc;...
  13. Replies
    2
    Views
    791

    Re: Suspend Thread when Finished

    I am not really sure:




    #include <windowsx.h>

    // Declare

    void Cls_OnCommand(HWND hwnd, int message, HWND hwndCtl, UINT codeNotify);
  14. Replies
    1
    Views
    2,404

    DialogBox vs CreateDialog

    Hi,

    Is there any differences using one or another?



    DialogBox(hInst, MAKEINTRESOURCE(IDD_POPUP), hWnd, (DLGPROC)procPopup);

    ShowWindow(
    CreateDialog(hInst,...
  15. Replies
    10
    Views
    4,747

    Re: How to make a Dialog resizable

    I see lots of examples of how to do this out there but they are all for MFC
    or other toolkits. I need to do this in a C++ app using normal win32 API
    calls.
  16. Replies
    10
    Views
    4,747

    How to make a Dialog resizable

    Hi,

    I am dealing with dialog window created usign ResEdit as a resource editor. Now, I'd need to make a window resizable and to have all the child controls in it resize themselves according to...
  17. Re: Error creating list view thru resource.rc

    now it's working! By the way, do you have any idea what those long number mean?



    CONTROL "", IDC_LIST1, WC_LISTVIEW, WS_TABSTOP | WS_BORDER | LVS_ALIGNLEFT | LVS_REPORT, 4294967294, 4294967295,...
  18. Error creating list view thru resource.rc

    Hi,

    I am using ResEdit as a resource builder. I created a dialogex like this:



    IDD_POPUP DIALOGEX 25, 25, 485, 254
    STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |...
  19. Replies
    5
    Views
    1,493

    Re: add items to a list view

    I am sorry that was my mistake!



    for(itt=rows.begin(); itt!=rows.end(); ++itt)
    {
    lvi.iItem = itt->first;
    lvi.iSubItem = 0;

    ListView_InsertItem(hlistview, &lvi);
  20. Replies
    5
    Views
    1,493

    Re: add items to a list view

    Also, I ma having a lot of compiler errors because of this:



    struct petinfo
    {
    TCHAR szKind[10];
    TCHAR szBreed[50];
    TCHAR szPrice[20];
    };
  21. Replies
    5
    Views
    1,493

    Re: add items to a list view

    Thank you ever so much!

    By the way, do yo think there's any way to add a line between the rows (not that important to me though)
  22. Replies
    13
    Views
    1,843

    Re: Combo Box Styles

    wow that's great!
  23. Replies
    5
    Views
    1,493

    add items to a list view

    Hi,

    I am using the following code to create a List View Control:



    // Adding List-View Columns
    TCHAR szText[256] = {0};
    TCHAR szString[5][20] = { TEXT("Column 1"),TEXT("Column...
  24. Replies
    13
    Views
    1,843

    Re: Combo Box Styles

    Yeah, I am stuck with teh old win95 look. I tried your code and the style looks bad. Here's is an example (shown from ResEdit)

    http://theartofweb.net/cpp/NaioCAST.PNG

    while this is the same...
  25. Replies
    13
    Views
    1,843

    Re: Combo Box Styles

    that is not working for me :-( I am on windows vista...by the way, do you think I should use SetWindowTheme() to force a stlye?

    I guess I should turn to different gui libraries like QT or GTK+
Results 1 to 25 of 161
Page 1 of 7 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