Search found 91 matches

by dsk
Tue Dec 19, 2006 8:29 pm
Forum: C++ Development
Topic: wxTreeCtrl questions
Replies: 3
Views: 1370

rubi, could you post your wxTreeItemIdList class ?

thanks !
by dsk
Tue Dec 19, 2006 8:12 pm
Forum: C++ Development
Topic: How to stop program termination ?
Replies: 7
Views: 778

atexit works only for "normal" exit, so it won't help with this Same with wxEVT_CLOSE metalogic; yes, it's unusual requirement, but very handy for some applications, not malware, anyway who would write malware using wxwidgets ? Some normal :lol: example: if someone do sth using Word or any other off...
by dsk
Tue Dec 19, 2006 6:41 pm
Forum: C++ Development
Topic: How to stop program termination ?
Replies: 7
Views: 778

How to stop program termination ?

Hey, Meybe you know how I can catch program termination ? I mean, when someone try to close application using CTRL+ALT+DELETE and close process, so I can save data etc. Or even, if someone will click shutdown system before closing application, how can I catch closing/terminating event and do some op...
by dsk
Fri Dec 08, 2006 11:28 am
Forum: C++ Development
Topic: Writing on canvas, photoshop-like text
Replies: 2
Views: 592

anyone have some idea ?
by dsk
Tue Dec 05, 2006 9:52 pm
Forum: C++ Development
Topic: Writing on canvas, photoshop-like text
Replies: 2
Views: 592

Writing on canvas, photoshop-like text

Hey, I'm trying to make some small app, what I need is to write text on bitmap, and then print only this text. It looks pretty simple, but I would like to make some photoshop-like ability - user place text in resizing rectangle, where he wants - on bitmap. I wrote some code to test my initial assump...
by dsk
Sun Aug 13, 2006 6:56 am
Forum: Announcements and Discoveries
Topic: Visual Studio Projects Converter
Replies: 1
Views: 696

Meybe someone use Visual Studio 2005 ?
Could you post example of resX file, in C# project ?

Thanks !
by dsk
Sat Aug 12, 2006 12:27 pm
Forum: Announcements and Discoveries
Topic: Visual Studio Projects Converter
Replies: 1
Views: 696

Visual Studio Projects Converter

Hello, I've just done simply Visual Studio Projects Converter I needed thing like this to convert projects from Visual Studio 2005, to 2003. But I can't find it. For Windows: Converter.exe I'm doing mostly Win applications, then I want to see how it will look on other platforms, I will add packs for...
by dsk
Fri Aug 11, 2006 1:43 pm
Forum: Open Discussion
Topic: Which CMS will you prefer for a technical site.
Replies: 4
Views: 1138

Ya, I had gone there, and thats why I am asking here, because they have diff lists like max downloads, features, etc. all with diff rankings. Its hard for me to interpret their data. Try some "most" secure, I mean this which have not much bugs detected, is fast developed (patched), and its for a lo...
by dsk
Mon Aug 07, 2006 2:00 pm
Forum: General Forum Issues
Topic: Making money for the community
Replies: 17
Views: 4227

Hey, Jorgen its great idea :) I know some informations about Pay Per Click Affiliate Programs, also about Google Adsense (I wrote PPC search engine script). Anyway, you can place only contextual advertising, then there wouldn't be any popups, and it should not prevent during reading forum. But first...
by dsk
Thu Jul 20, 2006 3:30 pm
Forum: General Forum Issues
Topic: Getting gipped out of my points
Replies: 9
Views: 2730

Today I have opened 2 random resolved topics.
In both, selected "correct answer post" was posted by topic maker :)

I think, that many people don't understand how it works...
by dsk
Wed Jul 19, 2006 6:34 am
Forum: C++ Development
Topic: Can wxThread stay alive without endless loop in entry() ?
Replies: 2
Views: 687

Re: Can wxThread stay alive without endless loop in entry()

I want to create a thread which always stays alive ,and can handle events at any time they come,but cannot uses infinite loop in entry(). As I know ,MFC thread can do that. create a mfc thread ,run it ,and use events to trigger its handle functions. I want to know if wxthread can do the same thing,...
by dsk
Fri Jul 14, 2006 5:26 pm
Forum: C++ Development
Topic: Sorting wxListCtrl - this is challenge :)
Replies: 4
Views: 1885

Thanks for your help,

And Big Thanks for help from Bundy :) - he is wxLC_VIRTUAL wxListCtrl expert :)

Thanks one more time,

Best Regards,
dsk
by dsk
Wed Jul 12, 2006 10:17 am
Forum: C++ Development
Topic: wxListCtrl wxLC_REPORT - getting text in certain column
Replies: 2
Views: 804

I just had code opened :)

Code: Select all

			wxListItem list_item;
			list_item.SetColumn(1);
			list_item.SetId(item);
			list_item.SetMask(wxLIST_MASK_TEXT);
			
			GetItem(list_item);

			wxString text = list_item.GetText(); 
item is id of item

Best Regards,
dsk
by dsk
Fri Jul 07, 2006 7:31 pm
Forum: C++ Development
Topic: Sorting wxListCtrl - this is challenge :)
Replies: 4
Views: 1885

Sorting wxListCtrl - this is challenge :)

hey, I have wrote 2 functions for sorting: int wxCALLBACK MySortFunct(long item1, long item2, long WXUNUSED(SortData)) { if(item1 < item2) return -1; if(item1 > item2) return 1; return 0; } // Sorting - reverse order int wxCALLBACK MySortRevFunct(long item1, long item2, long WXUNUSED(SortData)) { if...
by dsk
Wed Jul 05, 2006 2:17 pm
Forum: C++ Development
Topic: wxListCtrl - Number of records in second column
Replies: 2
Views: 748

merlin wrote:I think what you want if GetItem()

Have a look at wxListCtrl::SetItem to see how to use it.

Set the item and column you want in the wxListItem and then call GetItem to get the text/image/etc.
Works!

Thanks