AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Thema durchsuchen
Ansicht
Themen-Optionen

Accelerators and Dialogs

Ein Thema von Mr.Sade · begonnen am 12. Apr 2003 · letzter Beitrag vom 13. Apr 2003
Antwort Antwort
Mr.Sade

Registriert seit: 25. Feb 2003
17 Beiträge
 
Delphi 6 Enterprise
 
#1

Accelerators and Dialogs

  Alt 12. Apr 2003, 23:39
Hello,
I have a resource file with a dialog, menu and accelerator.
I have load the main dialog with DialogBoxParam() function, and I would like to know, if is possible to use an Accelerator with the main dialog.
thank you
Mr.Sade
  Mit Zitat antworten Zitat
Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#2
  Alt 13. Apr 2003, 02:43
Not really. If you use DialogBoyParam() you don't have a messageloop which is neccessary for processing accelarators. Use instead CreateDialog. Then you have to program your own messageloop with which you can process your accelarators.
If you are looking for examples, take a look at my page: www.luckie-online.de . Almost every program uses CreateDialog.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:25 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz