Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
ScrollingDialog
Rossifumi:
I reach my aim with this call:
SetMaxSize(-1,700);
But, i receive the error message that i've posted...
The scrollingdialog is resized with this call...(but in runtime i've to click ignore to the error message...)where is the conflict??
Rossifumi:
suggestions???
Jenna:
--- Quote from: Rossifumi on February 10, 2011, 03:00:09 pm ---suggestions???
--- End quote ---
This question seems not to be a C::B related question, because it looks like a problem with wxWidgets (in this case it would violate our forum rules).
But it can also be a problem with wxScrollingDialog or wxSmith, so here comes my next question.
Where do you try to set SetMaxSize with two integers as parameters ?
wxDialog or wxTopLevelWindow (the base class) has no such function (as far as I know).
Or is it just a typo ?
Do you set it directly or through the wxSmith resources ?
Which version of wxWidgets do you use (seems to be a debug-build) ?
What happens if you just ignore the alert (if possible) ?
Could you provide a minimal sample project where this happens ?
Jenna:
I just tested it with a debug-build of wxWidgets and get the exact same error, if I set max size and min size for the dialog in wxSmith's resources and have min size greater than max size.
But that's exactly what the error message said, so I guess it's not as simple as this.
Rossifumi:
First of all...thank you for your help and your time... :D :D
Also...
- i tried to SetMaxSize,SetMinSize,SetSize in wxSmith resource(with integers of course)...
- and i tried in constructor of my scrollingdialog to call SetMaxSize(wxSize(-1,700)).
But i receive the same error.
I use a release-build of wxwidgets.
I can ignore the message...and the scrollingDialog is resized...
but i suppose that in definitive version of my .exe file i receive the alert too.
And that's my problem...because i can resize..(but i receive the alert)... :( :(
if you would i can send you my .h/.cpp files.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version