Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - PmMemCreateMC(): (2 Items)
   
PmMemCreateMC()  
Has anyone gotten the example shown with this API to compile/run.  I got it to compile but the button image does not 
display.

Larry
Re: PmMemCreateMC()  
Ok, I have tried all combinations of things I can think of:

1. Letting PmMemCreateMC() calloc its own memory instead of creating the shared memory object.

2. Used Pg_IMAGE_PALETTE_BYTE instead of Pg_IMAGE_DIRECT_888.

3. Adding call to PgDrawPhImagemx() after PmMemFlush().

Nothing works .... just get the window and a blank button.

Does off screen drawing require a special graphics driver or setting ie. 8 bit vs 16 vs 32 bit color?

Thanks