Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] Wizard pages show up blank

Upon closer inspection I found that when the page in question does not show up correctly, the following code in the class "org.eclipse.swt.widgets.Control" exits from the line marked below, whereas when it does show up correctly it continues on in the method:

public void setVisible (boolean visible) {
        checkWidget ();
        if (drawCount != 0) {
                if (((state & HIDDEN) == 0) == visible) return;
        } else {
                int bits = OS.GetWindowLong (handle, OS.GWL_STYLE);
                if (((bits & OS.WS_VISIBLE) != 0) == visible) return;   <<<======== exit from this line when not working
        if (visible) {
                sendEvent (SWT.Show);
                if (isDisposed ()) return;

I'm not familiar with that block on code.  What does it mean?  Any ideas on why it would "fail" from there?

Again any advice is appreciated.

Jim Zhang/Raleigh/IBM@IBMUS
Sent by: platform-ui-dev-bounces@xxxxxxxxxxx

11/30/2005 09:58 PM
Please respond to "Eclipse Platform UI component developers list."

        To:        platform-ui-dev@xxxxxxxxxxx
        Subject:        [platform-ui-dev] Wizard pages show up blank

Has anyone seen this kind of problem?  I have my own wizard and wizard pages extending from a WTP wizard framework.  From the debugger I can see that the pages are returned correctly from wizard's getNextPage() and "createControl()" were called before the page is set visible.  The page title and description are all shown correctly.  But none of the controls on the page are shown.

Any advice is appreciated.

Jim Zhang
platform-ui-dev mailing list

Back to the top