flat assembler
Message board for the users of flat assembler.
Index
> Windows > uTorrent's "Create New Torrent" dialog |
Author |
|
rohagymeg 03 Oct 2012, 21:45
How can I make the select folder dialog? I already implemented the select file for my torrent maker project, which you can find here: http://board.flatassembler.net/topic.php?t=14126&postdays=0&postorder=asc&start=0
But for the life of me I can't figure out what method utorrent uses to be able to select a folder and also, the open button is called "select folder" but in my own language! Is it a system variable, or does utorrent have a database of all the languages just to have a custom select folder button? EDIT: It's called IFileDialog And the combobox (which stores the selected path) has 2 empty dropdown items when there is no history of previous torrent file creations. The thing is, it looks nicer than not having that, because this way it's clear to the user that the list is empty. However, when I made the same, I can select them(they become blue when the mouse is over them), and that's not how I want it. I want it the same as in utorrent's, where you cannot select them. I know these questions are very specific. I just hope some people could give me a hand. Last edited by rohagymeg on 14 Oct 2012, 21:47; edited 2 times in total |
|||
03 Oct 2012, 21:45 |
|
rohagymeg 09 Oct 2012, 20:59
Thanks! I''ll look into it. Since my goal is to avoid resources wherever possible, hook procedure will be my method.
|
|||
09 Oct 2012, 20:59 |
|
nmake 14 Oct 2012, 20:07
uTorrent isn't as small as it claims to be, it is packed with upx, if you unpack it, it approaches a megabyte in size. It is not a tiny torrent program anymore. What we need, is an assembly torrent program that is really tiny and fast.
|
|||
14 Oct 2012, 20:07 |
|
rohagymeg 14 Oct 2012, 21:34
I realized that the utorrent's select folder dialog is a vista+ feature. Foobar2000 uses it too. In this link there is an example code that works:
http://board.flatassembler.net/topic.php?t=14106 The IFileDialog is what produces those type of dialogs. I just wonder what xp does with this code. I'll probably have to make a program jump if OS is xp or 2000. |
|||
14 Oct 2012, 21:34 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.