Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between a dialog based and frame based application in wxWidgets

I'm trying to learn GUI-programming with C++ using Codeblocks 16.01, wxWidgets 3.1.0 and MinGW and when I start up the wxWidget wizard in Codeblocks I get to choose whether my application type is dialog based or frame based.

enter image description here

My question is: What does dialog and frame based application mean? What is the difference?

like image 299
jjepsuomi Avatar asked Jan 07 '23 00:01

jjepsuomi


1 Answers

They are different types of top level windows, relevant if you follow general UI rules, not necessarily wxWidgets-related. There are plenty of answers out there, which google can find easily; try a few:

wxFAQ: What's the difference between a wxFrame and a wxDialog?

wxForum: wxFrame vs wxDialog

wxForum: whats is the difference betweem wxDialog and wxFrame?

It has nothing to do with any "resource editor", the way you'll build the UI using a dialog or a frame or anything like that.

like image 154
catalin Avatar answered Jan 25 '23 19:01

catalin