After recieving help I now manage to open my modeless propertysheet (thank you), so my next question is how can I add buttons i.e CLOSE and CANCEL to the sheet that stays visible while changing propertypages?
Of course I can put two extra buttons in each propertypage with the name CLOSE and CANCEL, but I thought about using an extra modeless window added inside my CMiniFrameWindow.
1)Construct a CMiniFrameWnd from the CMainFrame.
2)In the CMiniFrameWnd I construct a Propertysheet ( new CSetUpSheet)
3)Create my modeless dialog with the two buttons CLOSE and CANCEL.
4) Append it
Around point (3) the problem starts, since I'm a novice in using and UNDERSTANDING MFC I change the pointers by random until it works (not always though...). If someone knows the philosophy behind how to use the constructor of the dialog and the Create (where to use which pointer...) and how to add the dialog in my case so it gets modeless I would be very happy.
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism
The trick is to virtually inherit from a base class…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…