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

Search:

Type: Posts; User: semispin

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    1,002

    Re: Double click on a file icon

    Exactly as you say. You have been very helpful. Thanks a lot!
  2. Replies
    5
    Views
    1,002

    Re: Double click on a file icon

    Thank you for the answer.
    What happens if the application is already open?
  3. Replies
    5
    Views
    1,002

    Double click on a file icon

    When the user double clicks on a file icon, if the file extension is associated with my application, the latter is activated. I suppose it receives a message. Which message? How does my application...
  4. Replies
    0
    Views
    1,047

    method CreateGdiMetafile

    I wonder if the method ID2D1Factory1::CreateGdiMetafile exists in documentation only or in practice too. I am able to use succefully many methods of the same interface, let's say all of them, but...
  5. Replies
    9
    Views
    3,573

    Re: How Can I Paste a Picture?

    I have solved part of the problem. Thanks to those who have helped. It seems that HMETAFILE is not an handle or, more exactly, the Handle functions do not work with HMETAFILE. I can, instead, save...
  6. Replies
    9
    Views
    3,573

    Re: How Can I Paste a Picture?

    do you have an example project that I can open with Visual Studio 2012 and compare with mine?
  7. Replies
    9
    Views
    3,573

    Re: How Can I Paste a Picture?

    Here is the whole function:

    void PerformPaste( Document *doc )
    {
    HANDLE CDdata;
    Note *note;
    Rect *R;
    PageInfo *page = doc->page;
    Layout *L = page->piece;
    int ceiling =...
  8. Replies
    9
    Views
    3,573

    Re: How Can I Paste a Picture?

    what shall i do to get a valid handle from the METAFILEPICT structure?
  9. Replies
    9
    Views
    3,573

    Re: How Can I Paste a Picture?

    GetLastError() returns 6. I can't find the meaning of this code, however.
    GlobalFlags( mfp->hMF ) returns GMEM_INVALID_HANDLE
  10. Replies
    9
    Views
    3,573

    How Can I Paste a Picture?

    I want to paste a picture from Paint into my program. My code is:

    HANDLE handle = GetClipboardData( CF_METAFILEPICT );
    if ( handle )
    {
    METAFILEPICT *mfp = (METAFILEPICT*) GlobalLock( handle );...
  11. Replies
    2
    Views
    806

    Re: Tooltips in Dialog Boxes

    Thanks a lot, this is all I needed. :wave:
  12. Replies
    2
    Views
    806

    Tooltips in Dialog Boxes

    The editor for dialog templates (in Visual Studio 11), shows an option into the "Properties" panel. The name of the option is "Help ID" and the explanation is: "Assigns a help ID based on the...
  13. Replies
    0
    Views
    5,246

    How to add a toolbar to the MDI interface?

    Hello, I am rather new to Windows programming and I am writing a C application using the Win32 APIs.
    My application should look more or less like the picture in this old (but not outdated) msdn...
  14. Replies
    3
    Views
    8,460

    Re: Child Window with a Transparent Background

    Not, I have not found a complete solution yet. Just because this is a performance issue, I have decided to redraw everything. The final effect is the same, but the program can become very slow is...
  15. Replies
    3
    Views
    8,460

    Child Window with a Transparent Background

    Hello, I am new to Windows programming. I am currently attempting to port an application from Mac OS to Windows. The application is written in C. This is what I have done so far: I have installed...
Results 1 to 15 of 15





Click Here to Expand Forum to Full Width

Featured