Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. event for windowless

event for windowless

Scheduled Pinned Locked Moved C / C++ / MFC
questioncomtutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zon_cpp
    wrote on last edited by
    #1

    hi, 1- do i create an event for a windowless project (for example, a dll project)? 2- how do i use event of an ActiveX control in my project, without using control(hwnd) of ActiveX? my project is a windowless project (it is a dll). i create object of this activeX:

    myActiveX.Create(NULL, NULL, CRect(0,0,0,0),cw.FindWindow(NULL,NULL), 0);

    thanx all

    Zo.Naderi-Iran

    K 1 Reply Last reply
    0
    • Z zon_cpp

      hi, 1- do i create an event for a windowless project (for example, a dll project)? 2- how do i use event of an ActiveX control in my project, without using control(hwnd) of ActiveX? my project is a windowless project (it is a dll). i create object of this activeX:

      myActiveX.Create(NULL, NULL, CRect(0,0,0,0),cw.FindWindow(NULL,NULL), 0);

      thanx all

      Zo.Naderi-Iran

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #2

      you are mixing messages and events. Events are Windows handles. Read this: http://msdn.microsoft.com/en-us/library/ms686915%28VS.85%29.aspx[^] For using events you need some threads which are waiting for some events. Really powerful API: http://msdn.microsoft.com/en-us/library/ms687055%28VS.85%29.aspx[^] Search for some articles to dig deeper

      Press F1 for help or google it. Greetings from Germany

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups