thanks for all the answers, appreciate it:)
@Sir Gak
Agree, although there are instances when more not less is more:)
The function I am writing will handle messages to use, and where needed take a reply from up to 3 buttons.
I also wanted the function to have the ability to create the windows and the buttons if needed all without using any global variables. Although global variables such as gfx and font can be passed if desired.
Looking good, going to be a fairly big function - and I dislike em big on general principle.
@Sir Gak
Agree, although there are instances when more not less is more:)
The function I am writing will handle messages to use, and where needed take a reply from up to 3 buttons.
I also wanted the function to have the ability to create the windows and the buttons if needed all without using any global variables. Although global variables such as gfx and font can be passed if desired.
Looking good, going to be a fairly big function - and I dislike em big on general principle.