Necessity is the mother of all inventions. Isn’t it? Well yes it is. Will Roden, a SQA Forum member wanted to know if there is way to resize the QTP Intellisense window or not (http://www.sqaforums.com/showflat.php?Number=482908), while trying to find out the answer to his question I realized may be there is none. But then that is not an answer I like giving to anyone. So I thought of developing something that would allow anyone to specify the width and height of the Intellisense window and would resize the Intellisense window whenever it’s launched.
The picture below shows the default size of the Intellisense window
Usage:
Launch the tool
Specify the width and the height of and click on Apply button, the button would change to Cancel and a Hide button will get visible
Clicking on cancel will deactivate the resize tool. Clicking on the hide will hide the tool, to make the tool visible again re-run the executable.
When the tool is active the Intellisense window will be resized as shown in below image
Command Line:
The tool also allows passing few command line parameters. The format for the same is
/h /width:XXX /height:YYY
/width:XXX /height:YYY – Instructs the tool for the desired width and height of Intellisense window. The resize will be automatically activated. The /h flag is only processed if width and height parameters have been specified
/h - Instructs the tool to hide after activation
Ex - QtpIntellisenseResizer.exe /h /width:400 /height:400