SetItemData/GetItemData
-
How do i write using SetItemData/GetItemData to link items listed in the droplist(combobox) to certain files(.txt)? Is there any examples i can refer to? Thanks A Lot:)
cyn8 wrote:
How do i write using SetItemData/GetItemData to link items listed in the droplist(combobox) to certain files(.txt)?
You question is not clear... Do you want to see all the txt files in a directory listed in your combo box, then take a look at
DlgDirListComboBox
.
Nibu thomas A Developer Programming tips[^] My site[^]
-
cyn8 wrote:
How do i write using SetItemData/GetItemData to link items listed in the droplist(combobox) to certain files(.txt)?
You question is not clear... Do you want to see all the txt files in a directory listed in your combo box, then take a look at
DlgDirListComboBox
.
Nibu thomas A Developer Programming tips[^] My site[^]
In my application i have another edit box and a browse button to find a file and load it. But I want to be able to create a link from the droplist to the edit box to load the respectful files according to the item listed in the combobox droplist. for example... in the drop list, it has: item1 item2 item3 by selecting one of them, eg. "item1"..... Item1 will be directed to location example "c://File1.txt" the edit box will also show "c://File1.txt" and the file will be automatically load it May i know how to do this? Thanks:)
-
cyn8 wrote:
How do i write using SetItemData/GetItemData to link items listed in the droplist(combobox) to certain files(.txt)?
You question is not clear... Do you want to see all the txt files in a directory listed in your combo box, then take a look at
DlgDirListComboBox
.
Nibu thomas A Developer Programming tips[^] My site[^]
Nibu, Where is Naveen, Nishad etc...
-
In my application i have another edit box and a browse button to find a file and load it. But I want to be able to create a link from the droplist to the edit box to load the respectful files according to the item listed in the combobox droplist. for example... in the drop list, it has: item1 item2 item3 by selecting one of them, eg. "item1"..... Item1 will be directed to location example "c://File1.txt" the edit box will also show "c://File1.txt" and the file will be automatically load it May i know how to do this? Thanks:)
cyn8 wrote:
from the droplist to the edit box to load the respectful files according to the item listed in the combobox droplist.
There are two event notifications for this purpose... 1.
CBN_SELCHANGE
2.CBN_SELENDOK
You can handle either of them to handle change of combobox items. In this event handler write the code for displaying file contents.
Nibu thomas A Developer Programming tips[^] My site[^]
-
Nibu, Where is Naveen, Nishad etc...
-
Its very nice to contact you later. Really I miss you all badly. I still love NeST and all NeSTians very much. It is very sorry to say that I was forced to follow the path of Shameer Ebrahim. I have two reasons to leave from there with out sayinng any word to any. Mainly I fear the disgrace and secondly I want to come back there just like after a long leave. Sorry Sorry Sorry.... Currently I am not using any mobile that's why no one can get me through the phone. I shifted to C# and working for a US Client with a little better salary. I feel NeST is a heaven and sure I have to come back there. Contact you al later.. Where is Prince of Common Controls ( Mr.Naveen ) Please convey my regards to all there. Bye With lots of love Benoy Bose
-
Its very nice to contact you later. Really I miss you all badly. I still love NeST and all NeSTians very much. It is very sorry to say that I was forced to follow the path of Shameer Ebrahim. I have two reasons to leave from there with out sayinng any word to any. Mainly I fear the disgrace and secondly I want to come back there just like after a long leave. Sorry Sorry Sorry.... Currently I am not using any mobile that's why no one can get me through the phone. I shifted to C# and working for a US Client with a little better salary. I feel NeST is a heaven and sure I have to come back there. Contact you al later.. Where is Prince of Common Controls ( Mr.Naveen ) Please convey my regards to all there. Bye With lots of love Benoy Bose
-
Its very nice to contact you later. Really I miss you all badly. I still love NeST and all NeSTians very much. It is very sorry to say that I was forced to follow the path of Shameer Ebrahim. I have two reasons to leave from there with out sayinng any word to any. Mainly I fear the disgrace and secondly I want to come back there just like after a long leave. Sorry Sorry Sorry.... Currently I am not using any mobile that's why no one can get me through the phone. I shifted to C# and working for a US Client with a little better salary. I feel NeST is a heaven and sure I have to come back there. Contact you al later.. Where is Prince of Common Controls ( Mr.Naveen ) Please convey my regards to all there. Bye With lots of love Benoy Bose
-
Benoy Bose wrote:
Where is Prince of Common Controls ( Mr.Naveen )
hi benoy... I am here.. Now a days very busy with the projects...Dont have time to spend in code project.. well where r u now?
nave
I think you were so busy, since there are no log in the code project. Here I am not at all busy and having a lot of free time. Please convey my regards to Sankar, Ajesh, Prince and Rinu