User32.dll and Notes 8 Basic

We have an application that employs Windows user32.dll calls for constructing menus. It works well in ND versions < 8, but doesn’t function in 8+.

We want to use an alternate method to construct the menus depending upon the client version (< 8) OR if the client is 8+ running the basic configuration.

@Version will return 307 or greater for 8+, but we need to know how to determine if the client is running basic or standard.

Any suggestions are very much appreciated.

Ken

Subject: I think @IsEmbeddedInsideWCT will do it

But I’m not sure and don’t have an install handy to test with.

Subject: Looks promising . . .

I’ll test it. Thanks, Ken.

Subject: I tested it, it works for this purpose.

NotesUIWorkspace.IsEmbeddedInsideWCT returns True if you’re running the Standard client and False if you’re running Basic. It also returns False if you’re running Notes 7.0.2 or 7.0.3. It is not available in 6.x, so it generates an error.

Subject: Work around?

Can I ask what you did to get the user32.dll calls to work in 8.x? Or, did you have to use entirely different code?