Search:
Type: Posts; User: Endorphin
Search:
Search took 0.02 seconds.
-
January 7th, 2010, 03:38 PM
I have
class IResource
{
virtual void Use()=0
virtual bool RequestLock()=0
}
-
March 26th, 2009, 04:33 AM
But surely the SQl statement I wrote does not deal with setting the id field in TABLE2 to a bind variable?
It can't as easy as
INSERT INTO TABLE2 (id, name, attribute) SELECT (:id, name,...
-
March 25th, 2009, 12:54 PM
Using Oracle.
I have two tables
TABLE1
id,
name,
attribute
TABLE2
-
March 25th, 2009, 12:52 PM
Yeah has helped alot. Cheers!
-
March 17th, 2009, 10:26 AM
So will this transaction have to be written in PL/SQL?
I ask this because I have found a method using TRY CATCH blocks, but this seems to be only available in T-SQL, which Oracle does not support....
-
March 17th, 2009, 05:53 AM
I'm using an Oracle database, with all the code to connect, insert, delete etc written in C#.
I need to be able to insert multiple rows at once, however if one row fails to be inserted then all...
-
October 20th, 2008, 10:48 AM
Your FOR loop is totally wrong. Look up FOR loops, how they work in C++, examples etc etc.
-
October 20th, 2008, 09:16 AM
No problem, you have been a great help so far!
As for what to do, would you suggest I try with this idea of using OnCtlColor() further, or should I look into drawing my own drop down box?
-
October 20th, 2008, 06:37 AM
CtlColor() is called alot earlier, but does not recognise that there is a CTLCOLOR_LISTBOX. And just skips over the part of the function which was written in the old OnCtlColor() method like this..
...
-
October 20th, 2008, 05:40 AM
Are you just posting your homework?
-
October 20th, 2008, 05:24 AM
sure, here is a striped down version of my project,
there many be some unused functions etc etc, so just ignore them
-
October 20th, 2008, 04:40 AM
Right,
I can now change the font of the ListBox, which happens within the OnDropDown() function, which works great, however the font will only be set on the second time the drop down box is used,...
-
October 17th, 2008, 09:25 AM
Why do I still get
COMBO HWND=0
when running this function then?
-
October 17th, 2008, 08:54 AM
Thank you!
Can you give me an example of what function within my Dialog class I can access these values from?
-
October 17th, 2008, 06:29 AM
I created
class CSuperComboBox : public CComboBox
{
public:
CSuperComboBox(void);
~CSuperComboBox(void);
CEdit m_edit;
-
October 17th, 2008, 06:03 AM
To answer:
1. You have got to understand that I am totally new to MFC and how objects are displayed on screen with the functions called by the Framework etc etc. So it isn't obvious to me how to...
-
October 17th, 2008, 05:46 AM
Oh sorry if I wasn't very clear, I want the CComboBox object to be CBS_DROPDOWNLIST, I was using the term EditBox to refer to that section of the CComboBox.
Can you recommend a good place to...
-
October 17th, 2008, 05:22 AM
Thanks for a reply!
But now I don't know how to get at these HWnd values,
I write this code to my OnInitDialog() of Dialog class
super.Create(WS_CHILD | WS_VISIBLE | WS_VSCROLL |...
-
October 17th, 2008, 03:35 AM
As I am to believe there are three sections to a CComboBox object, the whole combo box, the EditBox, and the drop down list (ComboLBox).
I would like to create a combo box which has a standard...
|
Click Here to Expand Forum to Full Width
|