user interface - Implementing a tabbed Windows dialog window in C -
background:
i’ve inherited project, 10k loc implementing odbc driver. configure driver configuration window opened. configuration window defined .rc file (a resource script) defines buttons , checkboxes using x,y coordinates.
up until when adding new feature copy/pasted button/checkbox changing variable names , id codes, worked pretty well. of late panel has gotten monolithic, , has been decided configuration panel should overhauled. new design segregate options tabs, instead of having them on 1 page.
problem:
need figure out how implement windows dialog window tabs. have googled around, tried find examples, , had no luck trying figure out. can open .rc file in visual studio (the project not developed in visual studio) , shows me nice visual representation of config panel, can drag elements around, , modifies .rc file nicely. can’t figure out how tabs work. can create tab control, can’t it. can’t figure out how put other objects on different tabs of tab control.
what ideally looking extremely terse example implementing (a dialog window @ least 2 tabs , @ least 1 thing on each tab) in c. point can abstract rest. if can’t found pointer comprehensive tutorial on how implement tabbed dialog box next best thing. i’ve found tutorials in c#, rest of driver, interfaces configuration panel, written in c.
there explanations , examples here: http://msdn.microsoft.com/en-us/library/ff486050(v=vs.85).aspx
Comments
Post a Comment