Click here to Skip to main content
15,889,992 members
Home / Discussions / C#
   

C#

 
GeneralRe: listview autoarrange Pin
Sabry190517-Jul-05 21:15
Sabry190517-Jul-05 21:15 
GeneralDelete Query String in Oledb Pin
pakFari16-Jul-05 23:55
pakFari16-Jul-05 23:55 
GeneralRe: Delete Query String in Oledb Pin
Colin Angus Mackay17-Jul-05 1:23
Colin Angus Mackay17-Jul-05 1:23 
Generalredirect shortcut key Pin
Sabry190516-Jul-05 23:54
Sabry190516-Jul-05 23:54 
GeneralRe: redirect shortcut key Pin
Alex Korchemniy17-Jul-05 14:32
Alex Korchemniy17-Jul-05 14:32 
GeneralRe: redirect shortcut key Pin
Sabry190517-Jul-05 21:20
Sabry190517-Jul-05 21:20 
Generalgetting registered file extensions Pin
g00fyman16-Jul-05 20:53
g00fyman16-Jul-05 20:53 
GeneralRe: getting registered file extensions Pin
g00fyman17-Jul-05 2:05
g00fyman17-Jul-05 2:05 
ok so i can get them now without any problems, the same as MS file types window but the icon is not displayed, y is this so ?

i am definitley getting the icons (both large and small) i can see it when debugging, but they dont appear in listview control, my code is long so i will have to email if someone can help but i am basically

...

iterating the registry keys to find file types, adding the small and large icons to thier respective imagelists (iteratively) and then adding the string array of extension and description to the listviews items list (also iteratively).

...

this is all done in InitaliseValuesInControl()


<br />
public FileTypeControl()<br />
        {<br />
            InitializeComponent();<br />
<br />
            handler = new IconHandler();<br />
            fileEntries = new Dictionary<string, FileType>();<br />
<br />
            InitaliseValuesInControl();<br />
<br />
        }<br />


i have tried to pull all code from InitializeComponent() and put it into the InitaliseValuesInControl() method so i was drawing the control after the imagelists and item list were populated but it still doesnt display the image.

any ideas please ?

kind regards,
g00fy
GeneralRe: getting registered file extensions Pin
g00fyman17-Jul-05 3:34
g00fyman17-Jul-05 3:34 
GeneralSHGetFileInfo icon and dispose Pin
CiNN16-Jul-05 17:03
CiNN16-Jul-05 17:03 
GeneralRe: SHGetFileInfo icon and dispose Pin
Alex Korchemniy17-Jul-05 14:35
Alex Korchemniy17-Jul-05 14:35 
GeneralRe: SHGetFileInfo icon and dispose Pin
CiNN17-Jul-05 15:06
CiNN17-Jul-05 15:06 
QuestionTake screenshots using C#? Pin
Lord Kixdemp16-Jul-05 16:25
Lord Kixdemp16-Jul-05 16:25 
AnswerRe: Take screenshots using C#? Pin
bneacetp16-Jul-05 17:02
bneacetp16-Jul-05 17:02 
GeneralRe: Take screenshots using C#? Pin
Lord Kixdemp16-Jul-05 18:45
Lord Kixdemp16-Jul-05 18:45 
QuestionPaint control? Pin
Lord Kixdemp16-Jul-05 16:18
Lord Kixdemp16-Jul-05 16:18 
AnswerRe: Paint control? Pin
Tomas Petricek17-Jul-05 1:53
Tomas Petricek17-Jul-05 1:53 
GeneralRe: Paint control? Pin
Lord Kixdemp17-Jul-05 6:11
Lord Kixdemp17-Jul-05 6:11 
GeneralAsynchronous Comms Pin
Anonymous16-Jul-05 13:15
Anonymous16-Jul-05 13:15 
Generalbandwidth usage Pin
Mohamad Al Husseiny16-Jul-05 10:37
Mohamad Al Husseiny16-Jul-05 10:37 
GeneralHelp with client server apps, please! Pin
Member 161964216-Jul-05 9:26
Member 161964216-Jul-05 9:26 
Generalauto select tree node Pin
Anonymous16-Jul-05 9:19
Anonymous16-Jul-05 9:19 
GeneralRe: auto select tree node Pin
Luis Alonso Ramos16-Jul-05 18:39
Luis Alonso Ramos16-Jul-05 18:39 
GeneralRe: auto select tree node Pin
Anonymous17-Jul-05 10:09
Anonymous17-Jul-05 10:09 
GeneralRe: auto select tree node Pin
Luis Alonso Ramos17-Jul-05 10:13
Luis Alonso Ramos17-Jul-05 10:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.