About: Message handler completion   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Let's say you want to implement a control that handles the Windows Unit message WM_Paint in a particular way. Do you know how that message handler needs to be declared? Which type the Message parameter must be? Neither do I, but Delphi does and can help you there: type TMyControl = class(TWinControl) private end; If you press ctrl-space at the position marked above, you will get a list of all message handlers and more stuff. To see only the message handlers, type "wm". And to find wm_Paint - you guessed it - add a "p". Press return and you will get the following:

AttributesValues
rdfs:label
  • Message handler completion
rdfs:comment
  • Let's say you want to implement a control that handles the Windows Unit message WM_Paint in a particular way. Do you know how that message handler needs to be declared? Which type the Message parameter must be? Neither do I, but Delphi does and can help you there: type TMyControl = class(TWinControl) private end; If you press ctrl-space at the position marked above, you will get a list of all message handlers and more stuff. To see only the message handlers, type "wm". And to find wm_Paint - you guessed it - add a "p". Press return and you will get the following:
dcterms:subject
abstract
  • Let's say you want to implement a control that handles the Windows Unit message WM_Paint in a particular way. Do you know how that message handler needs to be declared? Which type the Message parameter must be? Neither do I, but Delphi does and can help you there: type TMyControl = class(TWinControl) private end; If you press ctrl-space at the position marked above, you will get a list of all message handlers and more stuff. To see only the message handlers, type "wm". And to find wm_Paint - you guessed it - add a "p". Press return and you will get the following: type TMyControl = class(TWinControl) private procedure WMPaint(Message: TWMPaint); message WM_Paint; end; Now all you need to do is press shift-ctrl-c to create an empty implementation of that method and add code. No more looking up the declaration in the controls unit or the online help. To see this and other cool stuff in action, see Steve's demo
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software