OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
transfer.cpp File Reference

Utilities for transferring data in and out of controls. More...

#include <owl/pch.h>
#include <owl/transfer.h>
#include <owl/edit.h>
#include <owl/listbox.h>
#include <owl/combobox.h>
#include <owl/combobex.h>
#include <owl/checkbox.h>
#include <owl/checklst.h>
#include <owl/radiobut.h>
#include <owl/scrollba.h>
#include <owl/slider.h>
#include <owl/static.h>
#include <owl/datetime.h>
#include <owl/hotkey.h>
#include <owl/ipaddres.h>
#include <owl/monthcal.h>
#include <owl/appdict.h>
#include <owl/except.rh>

Go to the source code of this file.

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Functions

Utility functions for control data transfer
void owl::SetSelectedRadioButtonIndex (HWND firstCtrl, int selIndex)
 Selects the control with the given zero-based index in the group of controls starting with the given control.
 
int owl::GetSelectedRadioButtonIndex (HWND firstCtrl)
 Returns the zero-based index of the selected radiobutton in the group of controls starting with the given control.
 
Transfer utility functions
void owl::TransferCheckBoxData (const TTransferInfo &, HWND ctrl, bool &b)
 Transfers the state of the checkbox to the given bool variable.
 
void owl::TransferCheckBoxData (const TTransferInfo &, HWND ctrl, UINT &state)
 Transfers the state of the checkbox to the given integer variable.
 
void owl::TransferCheckListData (const TTransferInfo &, HWND ctrl, TCheckListData &data)
 Transfers all the data for a check list box.
 
void owl::TransferComboBoxData (const TTransferInfo &, HWND ctrl, TComboBoxData &data)
 Transfers all the data for a combo box control.
 
void owl::TransferComboBoxData (const TTransferInfo &, HWND ctrl, int &selIndex)
 Transfers the selection index of a combo box control.
 
void owl::TransferComboBoxData (const TTransferInfo &, HWND ctrl, tstring &selString, bool exact=false)
 Transfers the selection string of a combo box control.
 
void owl::TransferComboBoxExData (const TTransferInfo &, HWND ctrl, TComboBoxExData &data)
 Transfers all the data for an extended combo box control.
 
void owl::TransferDlgItemText (const TTransferInfo &, HWND ctrl, tstring &text)
 Transfers the text contents of a control.
 
void owl::TransferDateTimePickerData (const TTransferInfo &, HWND ctrl, TDateTimePickerData &data)
 Transfers all the data for a date and time picker control.
 
void owl::TransferDateTimePickerData (const TTransferInfo &, HWND ctrl, TSystemTime &selTime)
 Transfers the selected date and time of a date and time picker control.
 
void owl::TransferDateTimePickerData (const TTransferInfo &, HWND ctrl, tstring &selTime)
 Transfers the selected date and time of a date and time picker control as a string.
 
void owl::TransferHotKeyData (const TTransferInfo &, HWND ctrl, uint16 &key)
 Transfers the hotkey value of a hotkey control.
 
void owl::TransferIPAddressData (const TTransferInfo &, HWND ctrl, TIPAddressBits &data)
 Transfers the address of a IP address control as an object.
 
void owl::TransferIPAddressData (const TTransferInfo &, HWND ctrl, uint32 &data)
 Transfers the address for a IP address control as a 32-bit value.
 
void owl::TransferListBoxData (const TTransferInfo &, HWND ctrl, TListBoxData &data)
 Transfers all the data for a list box control.
 
void owl::TransferListBoxData (const TTransferInfo &, HWND ctrl, int &selIndex)
 Transfers the selection index of a list box control.
 
void owl::TransferListBoxData (const TTransferInfo &, HWND ctrl, tstring &selString, bool exact=false)
 Transfers the selection string of a list box control.
 
void owl::TransferMonthCalendarData (const TTransferInfo &, HWND ctrl, TMonthCalendarData &data)
 Transfers all the data for a calendar control.
 
void owl::TransferMonthCalendarData (const TTransferInfo &, HWND ctrl, TSystemTime &curSel)
 Transfers the selected date and time of a calendar control.
 
void owl::TransferMonthCalendarData (const TTransferInfo &, HWND ctrl, std::pair< TSystemTime, TSystemTime > &rangeSel)
 Transfers the selection range of a calendar control.
 
void owl::TransferRadioButtonData (const TTransferInfo &, HWND ctrl, int &selIndex)
 Transfers the index of the selected radio button within a group.
 
void owl::TransferScrollBarData (const TTransferInfo &, HWND ctrl, TScrollBarData &data)
 Transfers all the data for a scroll bar control.
 
void owl::TransferScrollBarData (const TTransferInfo &, HWND ctrl, int &position)
 Transfers the current position of a scroll bar control.
 
void owl::TransferSliderData (const TTransferInfo &, HWND ctrl, TScrollBarData &data)
 Transfers all the data for a slider control.
 
void owl::TransferSliderData (const TTransferInfo &, HWND ctrl, int &position)
 Transfers the current position of a slider control.
 

Detailed Description

Utilities for transferring data in and out of controls.

Definition in file transfer.cpp.