Author Topic: Note Properties Dialog Settings?  (Read 2876 times)

Offline Really Weird Person

  • Crazy artist
  • ****
  • Posts: 818
  • I love Daisy (デイジー)!
  • Operating System: Windows 8 Pro x64
Note Properties Dialog Settings?
« on: March 09, 2010, 21:26:29 »
Where might I find the Note Properties dialog settings in the code (I guess this might be considered the dialog's declaration, but I could be mistaken)? I do not seem to find them. The main thing that I am looking for is where to modify the text on the title bar (to make the row count start at one instead of zero, although you probably could have guessed that). I thought that I may be able to find that (since I cannot seem to figure out how to change the behavior of the Go To… dialog), but I do not find where that is in the code.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,003
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Note Properties Dialog Settings?
« Reply #1 on: March 09, 2010, 21:33:10 »
line 1162 in dlg_misc.cpp...
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Really Weird Person

  • Crazy artist
  • ****
  • Posts: 818
  • I love Daisy (デイジー)!
  • Operating System: Windows 8 Pro x64
Note Properties Dialog Settings?
« Reply #2 on: March 10, 2010, 01:09:37 »
Ah, I probably would not have thought of a file like that. Thanks

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,003
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Note Properties Dialog Settings?
« Reply #3 on: March 10, 2010, 13:49:55 »
You know, there's also a shortcut called "Ctrl+F" in most IDEs, where you could have searched for something like "Row %d" or something.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Really Weird Person

  • Crazy artist
  • ****
  • Posts: 818
  • I love Daisy (デイジー)!
  • Operating System: Windows 8 Pro x64
Note Properties Dialog Settings?
« Reply #4 on: March 10, 2010, 17:12:28 »
There is indeed, and I did use it, although I seared for terms that seemed like they would link to the dialog (such as Properties, NoteProperties, and Note_Properties). I did not think of searching for Row %d for something like that, although based on its nature (text modification), I suppose that doing a search for Row %d makes sense.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 7,003
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 10 x64
Note Properties Dialog Settings?
« Reply #5 on: March 10, 2010, 17:36:04 »
Well, if you want replace a text in the GUI, I would first search for that text (and by now you probably know that decimal numbers are normally formatted with "%d" in most places). Also, you could have had a look at the resource editor - you would have found the IDD_PAGEEDIT* dialogs there, which are the note properties. Searching for this string in the code then would have directly brought you to dlg_misc.cpp.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.