Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to minimize/maximize/restore CTabFolder

 
Thomsun Sriburadej
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm learning to develop SWT application.
I'm quite confused when I created a CTabFolder, added some CTabItem into it and tried to make it minimize/maximize/restore as the way eclipse do.
Document said that developer have to set the property of CTabFolder (setMinimize/setMaximize) manually.
After I set it in the minimize event, it won't minimize immediately.
I have to resize the frame or call pack () method directly to change its status that's not what I want.
Please tell me the correct way to do it ...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic