|
Yes, tags are not working. I posted in hurry. I will take care next time when i post.
Thanks David!!! Yes, I realized every time OnReceive is invoked new pSocket is created. Then, how to initialize pSocket saying it is previously connected.
|
|
|
|
|
Alo,
Pero perdon.
Gracias.
Adias
Troy
|
|
|
|
|
Hello to everyone,
I was wandering how to create a framework in C++ and a search on Google for some tutorials but I wasn't able to find anytihng
Can anyone suggest my a good tutorial on how to create a framework?
Thanks
|
|
|
|
|
See point #2 in this post[^]
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Sorry
I want to create a web content filter program for Windows Server 2008 using the WPF[^] with plug-in support.
I already created plug-ins in the form of DLLs and loaded them dinamically but now I wanted to create a framework to support the plug-ins (something like the windows API for Win32 applications)
|
|
|
|
|
Stifly wrote: but now I wanted to create a framework to support the plug-ins
So what? Go ahead. What is stopping you?
|
|
|
|
|
I don't know exactly how to do it and I couldn't find a guide or a tutorial, can anyone tell me were I can find one?
|
|
|
|
|
The reason you are not getting answers is because there is NO answer to your question. Only you can come with the answer to your question. If I had the same question, I would look for examples rather than answers. For example, analyze MFC to see what it offers and how. MFC is a good framework and will give you many ideas. You can also, study the architecture of .NET (although) some think .NET is not a framework.
You can also read the book on CSLA by Rockford Lhotka who creates a whole framework within the book.
Once again, this will just give you fundamental ideas--like a book on OOP--however, creating a good framework is more of a style of thinking rather than following a strict methodology. Art is involved in addition to engineering.
Good luck!
CodingYoshi
Visual Basic is for basic people, C# is for sharp people. Farid Tarin '07
|
|
|
|
|
Tanks to every one for the help
|
|
|
|
|
Stifly wrote: I don't know exactly how to do it
I don't know what that means. However in case you don't know what to do because you don't know what a framework is, see here[^]
|
|
|
|
|
Dear All,
I want to add Combo boxes in one row of a CListCtrl. Is this possible ? If possible can anyone help me to add the ComboBoxes in one row of a CListCtrl.
Expecting your replies. Many thanks in advance.
Bhanu
|
|
|
|
|
bhanu_8509 wrote: I want to add Combo boxes in one row of a CListCtrl. Is this possible
Easiest with a more advanced list control - I suspect one or more of the CodeProject articles about list controls[^] could sort you out.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I cannot find useful information for the comboboxes to be added in a row. The implementation is given for a column. Please help me.
|
|
|
|
|
Hi,
I have a program that performs a lengthy operation (2-3 minutes), so by the time it's finished, the user would have minimized it and/or switched focus. When the operation is finished the program displays a dialog with DoModal. But the user can't see that because my program is minimized. I've seen programs that flash on the taskbar in this case.
There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition.
Blaise Pascal
|
|
|
|
|
Maybe try using FlashWindow[^] or FlashWindowEx[^], however i am not sure how these work for a minimized window.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
|
Hi all,
I am new in this field. I want to know which book will i follow for mfc program, using VS 2005 as a beginner. Please refer the author name.
Thanks to all
Munna
|
|
|
|
|
Hi,
For book recommendations, see here[^]. I am assuming that you have working knowledge of Win32 and a good understanding of the object oriented programming paradigm. Those two will help you in learning MFC faster.
Happy learning.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
I'm using VS 2008 with the new MFC framework and ribbon UI. I'm working on a hobby project, and am trying to add a combobox to one of the ribbon tab/panels. It appears - and shows the first item of text added, but it is not "enabled". It's light grey as though it's not enabled and clicking does nothing, although when I mouse over the rest of the panel, the panel itself lights up correctly.
bNameValid = strTemp.LoadString(IDS_RIBBON_PORT_SELECT_BOX);
ASSERT(bNameValid);
CMFCRibbonComboBox* pSerialPortSelectBox = new CMFCRibbonComboBox(ID_RIBBON_PORT_SELECT_BOX, TRUE, 80, strTemp, 1);
pSerialPortSelectBox->AddItem(_T("Test"));
pSerialPortSelectBox->AddItem(_T("Test2"));
pSerialPortSelectBox->AddItem(_T("Test3"));
pSerialPortSelectBox->AddItem(_T("Test4"));
pSerialPortSelectBox->SelectItem(1);
pSerialPortSelectBox->EnableDropDownListResize(TRUE);
pPanelSerialConfig->Add(pSerialPortSelectBox);
This shows "Test2" sitting in the box, but the whole thing is greyed out.
Any thoughts?
|
|
|
|
|
You should add a message handler for it.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
Thanks, stupid oversight for a HW guy like myself. That did the trick...
|
|
|
|
|
Hi All,
Microsoft XP, 2003 OS comes with default compression utility. Anynody knows the way to configure it with follows parameters
- temp file locations
- time out value
- Vikram S
|
|
|
|
|
vikrams wrote: temp file locations
Probably as defined by the TMP or TEMP environment variable?
vikrams wrote: time out value
What time-out? A compression operation won't time-out. The underlying file access operations might, if they're (for example) network operations, but not the compression operation.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
My TMP env vars points to system32\temp and localsettings\temp
Actually it creates the temp file at the same location of the requested file for compression
|
|
|
|
|
SO, what's the problem? And does it actually have anything to do with C, C++ or MFC?
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|