Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Back button in a custom dialog


1 reply to this topic

rags33

rags33
  • Members
  • 15 posts

Posted 22 January 2002 - 01:15

HI,

 I use a custom dialog from C++ in my IS 6.22. For some reason my Back button is not working.

    case IDBACK:
               nId    = BACK;
               bDone  = TRUE;

This case is never executed. IDBACK is the ID number for back button.

I also tried

    case BACK:
               nId    = BACK;
               bDone  = TRUE;

Next & cancel button work fine.


Blake Miller Wonder

Blake Miller Wonder
  • Members
  • 121 posts

Posted 22 January 2002 - 23:28

Check your dialog template.

Cancel Button should have value of 9 and be enabled and visible

'C' buton should have identifier of value 2 and be hidden and disabled

Back button should have identifier of value 2 and be enabled and visible

Next button should have identifier of value 1 and be enabled and visible

Whenever these buttons have not worked for me, I discovered that the attributes were wrong or the identifier was wrong.