Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26219

BUTTON individual width on bar

$
0
0
[code=fw:17iirzoq][/code:17iirzoq] All buttons, including the one I want to resize, are 60x60. In this application, there is a button bar on the dialog itself, and one on each of 8 folders. All work perfectly ... but would love to resize this one button to a double width. PLEASE NOTE: Because this is on a DIALOG, using resources, we have to use REDEFINE for the button bar. Thus, on the .rc file we define the button bar as: [code=fw:17iirzoq][/code:17iirzoq] What is happening is that the class is resizing the bitmap so it displays the full image, but in a 60x60 button rather than a 60x120 button, which makes it too small to read. Also, the button would normally be displayed without PROMPT, which I added here just for testing. If you look at the DEFINE vs REDEFINE code for the button bar, you will see there is a significant difference which may lead to this problem. I am using FWH 17.06, Harbour, MSVC++ 2017 Tim Tim

Viewing all articles
Browse latest Browse all 26219

Trending Articles