Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: solla
  • Content: Threads
  • Order by date
  1. solla

    Using GetDeviceCaps with multiple monitors

    I have a multiple monitor setup and I want to print a bitmap from an area of the screen on the 2nd monitor. However, if I use: xScrn = GetDeviceCaps(hScreenDC, HORZRES); yScrn = GetDeviceCaps(hScreenDC, VERTRES); I get only the size of the primary monitor. This means that with my current...
  2. solla

    Incorrect WM_HSCROLL messages sent with Windows Themes

    Hi, I applied a manifest to my Windows application and it looks just great. However, I have a problem in one window with a horizontal scroll bar when I try to *drag* it - I cannot do it! Heres what happens: With XP theme: -------------- I click to drag the scrollbar. I get a single...
  3. solla

    Selectively disabling the XP-style manifest

    Hello, I have a large application that has been developed over many years. There are many MFC windows, but there are also many non-MFC windows. We applied a manifest to the app to get an XP-style. This works fine for all MFC windows. However, for old windows written in C, we have many...
  4. solla

    Detecting whether mouse button is pressed

    Is there a Windows API that will tell me whether the mouse button is in the process of being pressed (i.e. is currently "down")? (In a non-MFC app I want to know this before proceeding with an operation)
  5. solla

    Handling Double CLicks from CHeaderCtrl

    Hello, I have an app where the user has the option to block resizing of the columns in a list control. To do this, I have made the list control handle messages from the embedded header control: ON_NOTIFY(HDN_BEGINTRACK, 0, OnColumnTrackBegin) ON_NOTIFY(HDN_DIVIDERDBLCLICK, 0...
  6. solla

    Error ERROR_NOT_ENOUGH_QUOTA

    Hello, I have a customer who is using ::PostMessage to "a number of windows". His app is crashing, just after sending many error messages of the type, ERROR_NOT_ENOUGH_QUOTA (Error code 1816). Does anyone know what this relates to? Is it something to do with a limit on the message...
  7. solla

    Combining 2 Stored Procedures into 1

    I have inherited 2 stored procedures from an Access database: =====SP1 SELECT [ID] FROM SP2 WHERE (GC=reqGC) And (UC=reqUC); =====SP2 SELECT [ID], Count([GroupID]) AS GC, Count([UserID]) AS UC FROM TABLE1 GROUP BY [ID]; Note that SP1 calls SP2. I am struggling to translate this logic into an...
  8. solla

    Incorrect syntax in stored procedure that calls another?

    I had 2 queries defined in an Access database: ================================== SELECT UM_Groups_T.* FROM UM_Groups_T WHERE (UM_Groups_T.AlertGroup=True) ORDER BY UM_Groups_T.Name; ================================== SELECT COUNT(*) AS AlertGroupsCount FROM UM_AlertGroupsList_Q...
  9. solla

    Calling SP in DB upsized from MS Access

    Hello, I inherited an Access database with a bunch of stored procedures and some working ADO/C++ code to call them. I upsized the database to an SQL Server database and everything seems to be fine (i.e, all the info has transferred). I now want to use the same code to call the stored...
  10. solla

    ADO Connectivity/C++ Login Problem

    I am trying to use ADO connectivity thru C++ to connect to an SQL server database. I have tried using each of the following connection strings: Provider=SQLOLEDB.1;Persist Security Info=False;Initial Catalog=.\My_DB.MDF;Data Source=MY_COMPUTER_NAME;User ID=solla;Password=xxx (where solla is a...
  11. solla

    Sorting a "locked" column in a CListCtrl

    Is it possible to click on a column header AND fix the width of the column at the same time? Basically, in order to fix the size of the column, I have done something like, my_list_control.GetHeaderCtrl()->EnableWindow(FALSE); However, this means that I can no longer click on the column header...

Part and Inventory Search

Back
Top