QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
PtWindow widgets 'ignore' recource settings |
Ref. No. |
QNX.000009821 |
Category(ies) |
Development |
Issue |
We are creating a PtWindow widget with the render flags set to 0. When Photon realizes the window, it has a border and all of the default render parts. We have tried creating the window(from code) in both, a PhAB and non-PhAB application and the problem persists. What is the way tho create PtWindow without a border, title, ..., without creating the widget within PhAB?
|
Solution |
First of all, make sure that you provide a value for the 'len' field of your PtSetArg()
PtSetArg(&argt, Pt_ARG_FLAG_RESOURCE, 0, 0); //when set will clear all flag bits PtSetArg(&argt, Pt_ARG_FLAG_RESOURCE, 0, 0); //when set is a NOP
NOTE: The 'len' parameter is the bit modification mask. |
|