in reply to General Win32::GUI question

It is certainly possible to create controls at runtime using the Win32::APIs that underly Win32::GUI. Whether that functionality has been exposed or not I can;t say because I haven't done (much of) anything with it.

However, a more common and easy tactic to use is to create all the buttons you need wherever you need them in the application andrather than Add and Delete them on-the-fly, hide and unhide them as required.This makes maintaining the correct window hierarchy and message flows much simpler.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon

Replies are listed 'Best First'.
Re^2: General Win32::GUI question
by Anonymous Monk on Aug 02, 2004 at 23:00 UTC
    Thank you very much for your help, this is exactly what I wanted to be able to do.

    Do you know offhand how to edit a DialogBox's help (?) button? I know how to add/remove the button, but not edit its functionality. I am guessing there is a helpbutton_click event, or something like that, but I can't find any official documentation detailing it.

    Thanks again,

    Jason