RE: my dll troubles

new topic     » goto parent     » topic index » view thread      » older message » newer message

Mike Hurley wrote:
> when i say class i mean something that would be passed to 
> RegisterWindowEx()
> or RegisterWindow.
> 
Mike:

  What I think you trying to do is to defined a WC structure
  When your DLL initializes, use a for loop to go through
  your class definitions and fill in the WC structure and register
  it. Then as along as your user knows the name of your predefined
  defined classes; they can create a instance of that class
  with a createwindow function or etc.
 
  If you wanted to do this with Euphoria then you would have
  a constant sequence listing the parameters of of each WC structure.
  and when DLL initializes, you would poke the them into the WC
  structure and register it and then go on to the next sequence
  discription.
    
  What registering a class does is tells windows to keep a copy of
  each definition and relates that to your CLASS NAME. Don't worry
  about memory managememt for the DLL or how many users are using
  your DLL; windows will worry about that. 

Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu