Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » About tab dragging Collapse All
Subject Author Date
tera tera Sep 25, 2009 - 8:03 PM


Please improve the movement of the tab.

A mouse drug function.

There is a standard ItemDrag function.

However, it is hard to handle this function.

When I clicked a tab, I move a tab by mistake.

I want you to make operation dragging a tab clear.

As follows,

The tab which I chose floats, and it is displayed.

In the place that wants to move a tab , I want to let a user drop a tab.

Technical Support Oct 10, 2009 - 5:15 AM

We reproduced and fixed the tab control drag-n-dropping issues. You can download the newer source code.

Technical Support Sep 29, 2009 - 1:17 PM

What’s exactly wrong with our implementation? Would you like to hide a drag-n-dropped tab shape?

tera tera Sep 30, 2009 - 1:10 AM

>What’s exactly wrong with our implementation?

>Would you like to hide a drag-n-dropped tab shape?



When the items of the tab increased,

When it is not drag & drop type, operation is difficult.


When a user clicked a tab frequently ,

The user complained that tabs moved well.

Technical Support Oct 1, 2009 - 12:48 PM

Implemented. We added the __ETWS_EX_TAB_SHAPE_ITEM_DRAGGING extended tab window style. If it’s specified, then the tab shape is displayed during drag-n-drop. If not, then a drag-n-drop cursor is displayed instead of tab item shape. Please re-download Prof-UIS 2.87.

tera tera Oct 2, 2009 - 4:44 AM


I have a user be happy about this

Thank you very much for your advice.


By the way, __ETWS_ITEM_DRAGGING does not work normally.

 m_wndTabInnerTop.ModifyTabWndStyle( 0 , __ETWS_ITEM_DRAGGING , true );

 m_wndTabInnerTop.ModifyTabWndStyleEx(   0 ,   0 , // __ETWS_EX_TAB_SHAPE_ITEM_DRAGGING | __ETWS_EX_EXTENDED_ITEM_DRAGGING ,   true  );

Technical Support Oct 2, 2009 - 2:03 PM

The old __ETWS_ITEM_DRAGGING-based drag-n-dropping works OK. It was mainly designed for tabbed groups of resizable control bars. Could you please describe step-by-step what’s wrong with it?

tera tera Oct 5, 2009 - 4:03 AM

I move to right and left in a drug.

There is time when I cannot drag it.

Technical Support Oct 5, 2009 - 1:09 PM

Fixed. Please re-download newer source code from the same FTP location.

Rolf Boerkoel Oct 5, 2009 - 1:40 AM

I also do have problems with tab dragging. Dragging a tab from right to the left works ok. However dragging a tab from left to the right doesn’t seem to work!

Technical Support Oct 5, 2009 - 1:09 PM

Fixed. Please re-download newer source code from the same FTP location

Rolf Boerkoel Oct 6, 2009 - 3:18 AM

Unfortunately it still doesn’t seem to work as expected when dragging from left to right:

1) After dragging, TWO tabs are selected at the same time

2) The dragged tab is inserted in the wrong place.

Technical Support Oct 6, 2009 - 1:21 PM

We cannot confirm this. Which tabs exactly should we use in for reproducing this?

Rolf Boerkoel Oct 6, 2009 - 1:59 PM

I checked this with a regular CExtMdiTabWnd.

As I do not return to the office before Monday I cannot give you much details on this right now. It only seems to happen when a tab is being dragged from left to right and dropped to a position somewhere before the last tab. Any peculiarities? The texts on the tabs are quite long, tabs are at the bottom, no close buttons, with icons, with the dragging styles set as mentioned earlier in this thread, office2k3 theme, XP pro sp2, latest 2.87 from ftp.

If you can’t reproduce it I’ll be happy to create a sample application later on.


Technical Support Sep 27, 2009 - 8:05 AM

Implemented. We added a __ETWS_EX_EXTENDED_ITEM_DRAGGING extended tab window style and a CExtTabWnd::OnTabWndDrawDraggedTabItemContent() virtual method. Please re-download the latest 2.87 from the same location.

tera tera Sep 28, 2009 - 12:46 AM


I downloaded it. ( profuis287(2009-09-26).zip )

However, __ETWS_ITEM_DRAGGING has a bug.

The drug of the tab does not work normally as before.

Will you incorporate the following functions?

It is hard to use the movement of the tab under the present conditions.


Give my best regards.