How can I Show/Hide columns dinamically at run-time?
Solution: Make use of the following Source Code object HWND hGrid = ObPanelAPI::GetControlHandleByName(&(1:)); ASSERT ( hGrid ); if (hGrid) SendMessage(hGrid,HGFM_SETSTATE,&(2:),MAKELONG(&(3:),HGFF_HIDDEN)); Where: &(1:) = Control Name (i.e. GridP) &(2:) = Column number &(3:) = Show=0/Hide=1 Update: Apparently this is no longer working with Plex 5.0. No work around as of 02/10/03.