Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Toolbar variables and initialisation
#1
Hi Gintaras, hi all


I've a toolbar attached to a program main window.
It gives access to numerous functions based on the window component (files, edit boxes, lists etc) to treat files on folders in listview.

When I change folders, some variables (global ones) needs to be reinitialized to default values. The routines I use sometimes miss the point, so I created a "init" function to reset all needed variables. But sometimes
results are bad too. My best bet is then to close (destroy) the toolbar itself and switch again the main program windows to restart a "fresh" toolbar initialisation (done in the WM_INITDIALOG condition of the hook function).

Can it be done by code?

Thanks


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)