Click here to Skip to main content
16,006,535 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralSpeed improvement on dotnet Pin
Anthony_Yio16-Sep-03 21:03
Anthony_Yio16-Sep-03 21:03 
GeneralRe: Speed improvement on dotnet Pin
fadee16-Sep-03 22:40
fadee16-Sep-03 22:40 
GeneralRe: Speed improvement on dotnet Pin
Michael D Bray18-Sep-03 4:33
Michael D Bray18-Sep-03 4:33 
GeneralRe: Speed improvement on dotnet Pin
Anthony_Yio18-Sep-03 16:37
Anthony_Yio18-Sep-03 16:37 
GeneralMSDN problems Pin
Ahkron16-Sep-03 7:00
Ahkron16-Sep-03 7:00 
GeneralDTC Error Pin
Isaac Woo15-Sep-03 7:43
Isaac Woo15-Sep-03 7:43 
GeneralADDING A PASSWORD GENERATOR INTO A WINDOWS FORM Pin
len_ems14-Sep-03 16:19
len_ems14-Sep-03 16:19 
QuestionWould someone please put me on the right track? Pin
profoundwhispers12-Sep-03 22:52
profoundwhispers12-Sep-03 22:52 
I'm trying to develop a custom component library in C#. One of the set of objects in these components would be dropdown controls (DateTime picker with dropdown calender, Numeric edit with dropdown calculator, dropdown tree control, etc.)

From what I understand, for these objects (calendar, calculator, tree, etc.) to drop down in the "correct" way, they shouldn't be forms, but actually WS_POPUP windows that have the desktop as their parents. I'm imagining they should capture the mouse as soon as they drop down, report to their owner (textbox, or whatever dropped them down) and then release the mouse. Am I missing something? Is this the correct approach?

Problem number two. Is the following methodology right: I should define an interface (IPopupControl) and implement it with every desendant (like for instance: DropDownTreeView: TreeView, IPopupControl). The reason is then I should be able to assign any dropdown control to an owner, and then the owner would always call a method (like IPopupControl.Popup) because it will always be implemented. So in other words, the owner will always be accepting one object [object?] which is IPopupControl instead of a specific object (DropDownXXXX) according to what it wants to drop down. Then of course, every dropdown control will implement its own methods that are different, to report the data back to the owner control (most probably textbox).

I would have to call some Windows APIs in this process I would imagine. What are the disadvantages?

Sammy

"A good friend, is like a good book: the inside is better than the cover..."
General.Net Sockets Pin
Dave Compton12-Sep-03 2:58
Dave Compton12-Sep-03 2:58 
GeneralRe: .Net Sockets Pin
Dave Compton12-Sep-03 4:06
Dave Compton12-Sep-03 4:06 
Generalmulti-user project design Pin
User 814711-Sep-03 5:35
User 814711-Sep-03 5:35 
GeneralRe: multi-user project design Pin
Michael P Butler11-Sep-03 5:49
Michael P Butler11-Sep-03 5:49 
QuestionIMessage Interface in Remoting? Pin
0siris11-Sep-03 3:20
0siris11-Sep-03 3:20 
GeneralStandardPrinter Pin
gecko2310-Sep-03 3:13
gecko2310-Sep-03 3:13 
GeneralCatching exception when starting exe from network drive Pin
the-unforgiven9-Sep-03 9:36
the-unforgiven9-Sep-03 9:36 
GeneralRe: Catching exception when starting exe from network drive Pin
0siris11-Sep-03 4:45
0siris11-Sep-03 4:45 
GeneralRe: Catching exception when starting exe from network drive Pin
Michael D Bray18-Sep-03 4:28
Michael D Bray18-Sep-03 4:28 
GeneralComplex data binding and ListView column sorting problem Pin
zinzinlabine7-Sep-03 6:18
zinzinlabine7-Sep-03 6:18 
GeneralReflection question Pin
Gluber20026-Sep-03 15:54
Gluber20026-Sep-03 15:54 
GeneralRe: Reflection question Pin
leppie7-Sep-03 4:08
leppie7-Sep-03 4:08 
GeneralSuspendLayout() doen't work on richTextBox Pin
eranas3-Sep-03 21:07
eranas3-Sep-03 21:07 
GeneralRe: SuspendLayout() doen't work on richTextBox Pin
leppie7-Sep-03 4:14
leppie7-Sep-03 4:14 
GeneralExposing properties (COM interop) Pin
Elbie2-Sep-03 5:31
Elbie2-Sep-03 5:31 
GeneralOverriding Paint message in TextEditBase or RichEditBox Pin
NormDroid2-Sep-03 4:46
professionalNormDroid2-Sep-03 4:46 
GeneralIPicture to System.Drawing.Image Pin
Corinna John2-Sep-03 3:37
Corinna John2-Sep-03 3:37 

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.