Customizing the default InputBox Window
Posted
by Aaron Young
on February 5th, 2004
The program works by capturing the WM_CTLCOLORDLG, WM_CTLCOLORSTATIC, WM_CTLCOLORBTN messages as the dialog is created. A windows font and brush are then created and returned to the standard windows message handler to handle the custom drawing.
The code can be used in your program by simply calling the 'InputBoxEx' function inplace of the usual 'InputBox' statement (once you've subclassed your form of course).
A full sample project is included.

Comments
CustomizedInputBox
Posted by Legacy on 07/31/2003 12:00amOriginally posted by: subas sahoo
Very Good,
Replybut serching for more customized.
InputBox
Posted by Legacy on 07/06/2003 12:00amOriginally posted by: Richard
ReplyGood but what about setting the Max length
Posted by Legacy on 07/31/2002 12:00amOriginally posted by: Brad
The max length of the input Box is 256 characters. How about a way to set it to say 20 characters similar to the textbox maxlengh property.
ReplyThis is good BUT.....
Posted by Legacy on 05/18/2002 12:00amOriginally posted by: sunny
Reply
I was searching for Small Size Input Box
Posted by Legacy on 09/15/2000 12:00amOriginally posted by: J. R. Poudel
i appericiate your work,but you have not tried to make the size of Input Box Small.
ReplyIf you get any Idea to make small size input box please inform me