How to block all widgets within a container? I need to disallow access to a specific container within a panel group from being accessed. I can do that on each individual widget by setting pt_Blocked flag. I assumed that doing the same for a container within panel should block all widgets in that container panel but it did not do it. How can I block all widgets in a specific panel container.
How to Reproduce
Create widgets within a container panel then set Pt_BLOCKED flag for the container panel which will do nothing. You will still access all the widgets within the container.
This is supported only for the special case of PtWindow containers; for generic PtContainer widgets, you need to manually traverse the widget hierarchy (e.g. using PtWidgetTree() or PtWidgetTreeTraverse()) and set/unset the widgets' Pt_BLOCKED flags one by one.
NOTE:
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out toQNX Technical Support if you have any questions/concerns.