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

Search:

Type: Posts; User: falcon60

Search: Search took 0.01 seconds.

  1. Re: [RESOLVED] Need help displaying subitem text in listview control in Tile view

    If I don't insert columns it doesn't display subitems in tile view. Only in report view columns are actually visible.
  2. Correct way of getting theme font for child controls?

    The edit, button, static, listbox, and combobox controls all have that old system-looking font in them by default, even when using visual styles.

    What is the correct way of getting or creating a...
  3. Re: Need help displaying subitem text in listview control in Tile view

    Thanks very much, that helped me solve this! I was using the puColumns member improperly when inserting items.
  4. [RESOLVED] Need help displaying subitem text in listview control in Tile view

    I have been struggling with this for a while now and can't seem to get subitem text to appear in a listview control in tile view mode. I do have visual styles enabled. If anyone could take a look at...
  5. Replies
    2
    Views
    858

    Re: how can I open a second window?

    I think the AllocConsole function is what you want:

    http://msdn.microsoft.com/en-us/library/ms681944(v=VS.85).aspx
  6. Replies
    0
    Views
    2,710

    Can't open MP3s with mciSendCommand

    Maybe I'm doing something wrong. This code returns error 277(MCIERR_INTERNAL) from mciSendCommand:



    MCI_OPEN_PARMS op = {0};
    op.lpstrElementName = L"song.mp3";
    op.lpstrDeviceType =...
  7. Replies
    2
    Views
    774

    Re: How to not update a listview

    I think you want to send the WM_SETREDRAW message. The SDK documentation says this:
  8. Replies
    2
    Views
    1,314

    How can I implement split windows?

    I want to split my main window vertically so there's a sizing bar in the middle but I'm not sure how to go about it. I imagine I could create two windows with a gap between them then handle mouse...
  9. Replies
    3
    Views
    798

    Re: Creating a client-only window

    Sure.



    #include <Windows.h>

    HWND hWin;

    LRESULT CALLBACK WinProc(HWND, UINT, WPARAM, LPARAM);
  10. Replies
    3
    Views
    798

    Creating a client-only window

    I'm trying to use CreateWindow to create a window with no borders or title bar, but no combination of window styles seems to work for me. If I use WS_POPUP by itself I just get an icon in the taskbar...
  11. Re: How to use Get/SetDIBits() like Get/SetBitmapBits()?

    I think you were right, hoxsiew. The problem was that I used hdc in the call to CreateCompatibleBitmap, thus making bmp2 a monochrome bitmap. I changed it to CreateCompatibleBitmap(GetDC(0), 256, 16)...
  12. Re: How to use Get/SetDIBits() like Get/SetBitmapBits()?

    I tried your guys' advice but still the same outcome :(

    I found that the bits array contains only 0's and negative values. So I changed it to type unsigned char* and now it contains the correct...
  13. How to use Get/SetDIBits() like Get/SetBitmapBits()?

    For now I'm just trying to copy one bitmap created with LoadImage() to another bitmap created with CreateCompatibleBitmap(). Problem is, the second bitmap ends up with all black pixels. Below is my...
  14. Replies
    1
    Views
    595

    Toolbar buttons sticking

    Hello! I've noticed something peculiar with toolbar controls. If I right+left click a button then move the mouse away the button remains in the pressed state. I thought maybe there was a window style...
Results 1 to 14 of 14


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)