CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 155

Threaded View

  1. #11
    Join Date
    Apr 2009
    Posts
    1,355

    Re: [win32] - creating controls using class's

    Quote Originally Posted by Paul McKenzie View Post
    Hopefully you're not expecting someone to figure out where lines 4, 45, 77, and 78 are.

    Please tell us where these lines are in the code you posted.

    Regards,

    Paul McKenzie
    sorry...
    4: #define event(eventname, ... ) std::function<void(__VA_ARGS__ )> eventname
    (with includes files)

    45: inst->Move(xPos,yPos);//why these line make my program, give me an error for get support?
    (inside the window procedure)

    77: event(Create,(int x, int y));
    78: event(Move,(int x, int y));
    (in public variables)
    Last edited by Cambalinho; December 30th, 2013 at 03:04 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured