Germán wrote:
>You can use the callback TABCHANGEPOS_CB which informs you the position
>of the new tab selected and the position of the previous selected tab.
>The first tab is at position 0. So you can know the position of the tab
>with the focus.

Sadly I think not. I did not mean the position 0..n, but the screen location 
for the tab title in x,y co-ordinates, similar to CLIENTOFFSET.
Perhaps I could save any mouse coordinates I get, but they would all change 
with any key or main menu driven actions.

To clarify: When I press the menu key on the keyboard, I want to show a popup 
menu positioned on the relevant tab, to mimic what happens when I use the mouse 
and right click on the tab. In the latter case (RIGHTCLICK_CB) I can use the 
CURSORPOS attribute to position the menu, which is perfectly fine, but I cannot 
think of anything that would work in a similar fashion for a keypress (ideally 
with the top left of the menu centered on the tab title).

Pete

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to